From: Igor Sysoev Date: Tue, 5 Aug 2008 13:07:42 +0000 (+0000) Subject: xslt_stylesheet should be valid for location only X-Git-Tag: release-0.7.9~18 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=f8c0d8ade954411afa2ece7bcf652ee03b9fecfa;p=nginx.git xslt_stylesheet should be valid for location only --- diff --git a/src/http/modules/ngx_http_xslt_filter_module.c b/src/http/modules/ngx_http_xslt_filter_module.c index 7165fc8e5..d7d8e4089 100644 --- a/src/http/modules/ngx_http_xslt_filter_module.c +++ b/src/http/modules/ngx_http_xslt_filter_module.c @@ -138,7 +138,7 @@ static ngx_command_t ngx_http_xslt_filter_commands[] = { NULL }, { ngx_string("xslt_stylesheet"), - NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE, + NGX_HTTP_LOC_CONF|NGX_CONF_1MORE, ngx_http_xslt_stylesheet, NGX_HTTP_LOC_CONF_OFFSET, 0,