]> git.kaiwu.me - nginx.git/commitdiff
xslt_stylesheet should be valid for location only
authorIgor Sysoev <igor@sysoev.ru>
Tue, 5 Aug 2008 13:07:42 +0000 (13:07 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 5 Aug 2008 13:07:42 +0000 (13:07 +0000)
src/http/modules/ngx_http_xslt_filter_module.c

index 7165fc8e58a07c2c697c2bafb739ce72b8f38404..d7d8e40897ea8b44a0b3fd061077bb15bd884f81 100644 (file)
@@ -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,