mirror of
https://github.com/nginx/nginx.git
synced 2025-08-05 22:26:15 +08:00
allow try_files in server context
This commit is contained in:
parent
cd70a5225a
commit
e018a9c6ef
@ -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…
Reference in New Issue
Block a user