diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-08-05 13:07:42 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-08-05 13:07:42 +0000 |
commit | f8c0d8ade954411afa2ece7bcf652ee03b9fecfa (patch) | |
tree | cc63cda327bc76c04edbf4d72f8155311b683aae /src | |
parent | c097e83881350628ade9e4ba47c617d5089eeea4 (diff) | |
download | nginx-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.c | 2 |
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, |