mirror of
https://github.com/nginx/nginx.git
synced 2026-06-27 04:12:05 +00:00
allow try_files in server context
This commit is contained in:
parent
cd70a5225a
commit
e018a9c6ef
1 changed files with 1 additions and 1 deletions
|
|
@ -542,7 +542,7 @@ static ngx_command_t ngx_http_core_commands[] = {
|
|||
NULL },
|
||||
|
||||
{ ngx_string("try_files"),
|
||||
NGX_HTTP_LOC_CONF|NGX_CONF_2MORE,
|
||||
NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_2MORE,
|
||||
ngx_http_core_try_files,
|
||||
NGX_HTTP_LOC_CONF_OFFSET,
|
||||
0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue