Mercurial > hg > nginx-quic
changeset 2585:d0a07e5710b5
allow try_files in server context
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 20 Mar 2009 16:48:45 +0000 |
parents | 91e287d78d90 |
children | 41a965fba141 |
files | src/http/ngx_http_core_module.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -542,7 +542,7 @@ static ngx_command_t ngx_http_core_comm 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,