Trailing Slash Redirect Loop Help

Alex Med nginx-forum at forum.nginx.org
Fri Apr 28 15:43:04 UTC 2017


Steve -

Thank you so much this has brought so much clarity!  I appreciate the time
you spend writing the reply.

So the rewrite ^/(.*)/$ /$1 permanent; needs to be outside of the location
definition and inside the server definition, correct?

Infinite  thanks!

Alex

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



More information about the nginx mailing list