mirror of
https://github.com/nginx/nginx.git
synced 2026-10-22 12:01:09 +00:00
try_files should work with files only
This commit is contained in:
parent
c1a2b978de
commit
977fd90d2b
1 changed files with 4 additions and 0 deletions
|
|
@ -1172,6 +1172,10 @@ ngx_http_core_try_files_phase(ngx_http_request_t *r,
|
|||
continue;
|
||||
}
|
||||
|
||||
if (!of.is_file) {
|
||||
continue;
|
||||
}
|
||||
|
||||
path.len -= root;
|
||||
path.data += root;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue