From f8c0d8ade954411afa2ece7bcf652ee03b9fecfa Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 5 Aug 2008 13:07:42 +0000 Subject: xslt_stylesheet should be valid for location only --- src/http/modules/ngx_http_xslt_filter_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit