Answers for "nginx www redirect not working"

0

nginx redirect www to non-www

server {
    server_name www.example.com;
    return 301 $scheme://example.com$request_uri;
}
Posted by: Guest on October-20-2020
0

nginx redirect to non www

server {
    server_name www.example.com;
    return 301 $scheme://example.com$request_uri;
}
Posted by: Guest on June-08-2020

Code answers related to "nginx www redirect not working"

Browse Popular Code Answers by Language