Trailing Slash Redirect Loop Help

Steven Hartland steven.hartland at
Mon May 1 22:40:07 UTC 2017

My guess would be that your app is redirecting back to the slash urls

Your could test this with a directory on the webserver that has a 
matching index file.

Alternatively point a browser at the upstream and check for redirects 

On 28/04/2017 17:52, Alex Med wrote:
> Steven -
> I implemented your suggestion and I still get the same problem with the
> directories ... for anything else it works. But when I try to access a
> directory ... I can see on the browser address bar the / appearing and
> disappearing and then it finally does but the browser gives this error:
> Too many redirects occurred trying to open".  This
> might occur if you open a page that is redirected to open another page with
> then is redirected to open the original page.
> I checked and no my configuration I do not redirect anything to a directory
> to give that error.
> Thanks for your help!
> Alex
> Posted at Nginx Forum:,273964,273971#msg-273971
> _______________________________________________
> nginx mailing list
> nginx at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list