On Tue, Jul 12, 2016 at 03:47:23PM -0400, reaper wrote:
Hi there,
> Yes! That was it. Thank you.
Good stuff.
> Strange that nginx -t didn't say anything wrong with config :(
There's nothing wrong with the config. It is syntactically correct.
When you request /testlocation/, nginx will look for the
file /data/www/htdocs/web/testlocation/index.html, then the
file /data/www/htdocs/web/testlocation/root, then the file
/data/www/htdocs/web/data/www/htdocs/test, and then fail 404, which is
exactly what you told it to do.
The fact that that is not what you *wanted* to tell nginx to do, is not
something that nginx can reliably guess. So it doesn't try.
Cheers,
f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx