Hi Maxim!
Maxim Dounin Wrote:
-------------------------------------------------------
> > Did you see my previous post?
> > When I comment out the try files directive, the
> index works.
>
> Again:
>
> location / {
> try_files $uri $uri/;
> }
>
> is an infinite loop. It is expected to generate
> 500 for
> directories. Under no conditions it will allow
> index to work.
OK. That is clear enough.
My normal setup is
location / {
try_files $uri $uri/ @proxy;
}
I just ran the 'try_files $uri $uri/;' as a test to try to see whether the file gets served by Nginx or by the backend if it is the index.html being called.
I see now from your explanation that the test would always fail.
Thanks