try_files is broken with geoip?

itpp2012 nginx-forum at nginx.us
Mon Mar 30 17:45:06 UTC 2015


Peter Volkov Wrote:
[...]
root /tmp/test/;
"/tmp/test/test/1.ts" -> 404

/tmp/test has follofing files:
/tmp/test/dir2/test/1.ts - file
/tmp/test/dir1/test - directory

looks up /tmp/test/dir1/test/1.ts or if it not exist
/tmp/test/dir2/test/1.ts file.
[...]

I think you first need to sort out WHERE stuff is (root+uri) as your 404 is
valid against the other paths your have mentioned.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257753,257755#msg-257755



More information about the nginx mailing list