Trailing Slash Redirect Loop Help

Alex Med nginx-forum at
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!


Posted at Nginx Forum:,273964,273969#msg-273969

More information about the nginx mailing list