index or try_files in reverse proxy
Edho P Arief
edhoprima at gmail.com
Thu Aug 13 08:40:27 MSD 2009
On Thu, Aug 13, 2009 at 6:47 AM, meto<nginx-forum at nginx.us> wrote:
> 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;
this won't work (also mentioned by original poster)
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
More information about the nginx
mailing list