changeset 2151:c8331f70d799

xslt_stylesheet should be valid for location only
author Igor Sysoev <igor@sysoev.ru>
date Tue, 05 Aug 2008 13:07:42 +0000
parents 50cede290146
children b23e83f5b182
files src/http/modules/ngx_http_xslt_filter_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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_filt
       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,