Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
nginx redirect www to non-www
Kinzle B
Programming language:
Whatever
2021-05-07 13:32:42
0
Q:
nginx redirect www to non-www
user86253
Code:
Whatever
2021-03-09 00:27:26
server { server_name www.example.com; return 301 $scheme://example.com$request_uri; }
0
user6626
Code:
Whatever
2021-08-03 14:52:07
server { server_name www.example.com; return 301 $scheme://example.com$request_uri; }
0
Related
how to redirect if http to https nginx
redirect www to non www
http-server redirect to index
how t oadd ssl to a subdomain in nginx
nginx http cookies module
how to softlink nginx server file
How to redirect non-www URLs to www
redirect htaccess non www to www
How to redirect a request from http to https using nginx
nginx default server
nginx redirect to non www
nginx allow only one ip
redirect http non www to https www
New to Communities?
Join the community