index or try_files in reverse proxy

meto nginx-forum at nginx.us
Thu Aug 13 03:47:50 MSD 2009


Somehow i managed to make this work:

location / {
                index index.html index.htm index.php;

                try_files $uri $uri/ @proxy_backend;
                }


But i think that it should work with:

location / {
                try_files $uri $uri/index.php @proxy_backend;
                }


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






More information about the nginx mailing list