Double Redirect

itpp2012 nginx-forum at forum.nginx.org
Mon Jun 20 22:24:18 UTC 2016


Lebod Wrote:
> > What do you think this does?:  return 301
> > https://www.example.com$request_uri;
> 
> Doesn't that re-direct https://example.com to https://www.example.com
> ?

It would if you used "listen 443", maybe you should read the docs to get a
basic grasp what your doing.

https://www.nginx.com/resources/wiki/start/

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267700,267739#msg-267739



More information about the nginx mailing list