try_files should work with files only
This commit is contained in:
parent
80165f6e52
commit
bd6cc5e1f8
|
@ -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…
Reference in New Issue