Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.c @ 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 |
comparison
equal
deleted
inserted
replaced
2584:91e287d78d90 | 2585:d0a07e5710b5 |
---|---|
540 NGX_HTTP_LOC_CONF_OFFSET, | 540 NGX_HTTP_LOC_CONF_OFFSET, |
541 0, | 541 0, |
542 NULL }, | 542 NULL }, |
543 | 543 |
544 { ngx_string("try_files"), | 544 { ngx_string("try_files"), |
545 NGX_HTTP_LOC_CONF|NGX_CONF_2MORE, | 545 NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_2MORE, |
546 ngx_http_core_try_files, | 546 ngx_http_core_try_files, |
547 NGX_HTTP_LOC_CONF_OFFSET, | 547 NGX_HTTP_LOC_CONF_OFFSET, |
548 0, | 548 0, |
549 NULL }, | 549 NULL }, |
550 | 550 |