On Thu, Oct 16, 2014 at 9:03 PM, igorb <nginx-fo...@nginx.us> wrote: > That does not work either. What works is try_files "" =404 together with an > explicit alias as Francis Daly described in another post. >
did you put it inside the aliased location block? That'd explain why it doesn't work (as francis said, $document_root is overridden) unless you add "root /test;" inside the block. Seriously though, you better avoid using `alias` at all. _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx