xslt_stylesheet should be valid for location only

This commit is contained in:
Igor Sysoev 2008-08-05 13:07:42 +00:00
parent c097e83881
commit f8c0d8ade9

View 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,