| commit | e018a9c6efbfc99fcc8a9e31c09f45508e762b95 | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Fri Mar 20 16:48:45 2009 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Fri Mar 20 16:48:45 2009 +0000 |
| tree | 41c3ff6f53c491791a35b0db154f76b4fef7f67c | |
| parent | cd70a5225a21ef660c653568b1f0d3c5ced74f01 [diff] [blame] |
allow try_files in server context
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 4350ab1..ca9bc4f 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -542,7 +542,7 @@ 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,