Ngnix as Proxy with Multiple Directories Issue

ckozler nginx-forum at nginx.us
Fri Aug 19 14:52:17 UTC 2011


Well isnt this interesting, if I do

http://licensing/downloads

It fails with the above issue

If I do 

http://licensing/downloads/

- note the trailing slash - it will work and give me a directory
listing.  Is there any workaround for auto-appending a trailing slash
when it is a directory?  Eg: I would like to request
http://licensing/downloads and have it automatically detect it is a
directory and therefore show me the directory listing rather than
rewriting the URL to the
http://licensing/licensing.fixflyer.com/downloads

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,214049,214053#msg-214053



More information about the nginx mailing list