try_files does not have any effect on existing files

weheartwebsites nginx-forum at forum.nginx.org
Sun Feb 19 22:58:16 UTC 2017


ouch sorry all good - I had a special location = /robots.txt block which was
causing the try_files directive not to be called. removing that (or testing
with a different filename) worked :)

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272503,272510#msg-272510



More information about the nginx mailing list