aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-08-05 13:07:42 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-08-05 13:07:42 +0000
commitf8c0d8ade954411afa2ece7bcf652ee03b9fecfa (patch)
treecc63cda327bc76c04edbf4d72f8155311b683aae /src
parentc097e83881350628ade9e4ba47c617d5089eeea4 (diff)
downloadnginx-f8c0d8ade954411afa2ece7bcf652ee03b9fecfa.tar.gz
nginx-f8c0d8ade954411afa2ece7bcf652ee03b9fecfa.zip
xslt_stylesheet should be valid for location only
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_xslt_filter_module.c2
1 files changed, 1 insertions, 1 deletions
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,