Opened 8 years ago
#1004 new enhancement
try_files outside of location{} triggered when no location{} matches
Reported by: | stackoverflow.com/users/1336044/martin | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.11 |
Component: | documentation | Version: | 1.11.x |
Keywords: | Cc: | ||
uname -a: | irrelevant | ||
nginx -V: | irrelevant |
Description
Please, specify in: http://nginx.org/en/docs/http/ngx_http_core_module.html#try_files
That try_files inside server{} and outside of location{} is triggered only when request does not match any location{} block.
It is very useful functionality and not mentioned at all.
I found out about it from http://stackoverflow.com/questions/13138318/nginx-try-files-outside-location/14993257#14993257
Note:
See TracTickets
for help on using tickets.