Search
-
Re: Nginx Rewrite Rules
Hi. I managed to set an nginx redirect doing the following: I changes nginx.conf (root/etc/nginx/nginx.conf) and added the following change: http { server { server_name .green.net; return 301 https://www.green.com$request_uri; } Which works fine but redirects not only the root domain (green.net > green.com), but also would…