mirror of
https://github.com/nginx/nginx.git
synced 2025-06-18 10:16:27 +08:00
fix xslt module context levels
This commit is contained in:
parent
ca824f3cfa
commit
c097e83881
@ -131,21 +131,21 @@ ngx_str_t ngx_http_xslt_default_types[] = {
|
|||||||
static ngx_command_t ngx_http_xslt_filter_commands[] = {
|
static ngx_command_t ngx_http_xslt_filter_commands[] = {
|
||||||
|
|
||||||
{ ngx_string("xml_entities"),
|
{ ngx_string("xml_entities"),
|
||||||
NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_CONF_TAKE1,
|
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
|
||||||
ngx_http_xslt_entities,
|
ngx_http_xslt_entities,
|
||||||
NGX_HTTP_LOC_CONF_OFFSET,
|
NGX_HTTP_LOC_CONF_OFFSET,
|
||||||
0,
|
0,
|
||||||
NULL },
|
NULL },
|
||||||
|
|
||||||
{ ngx_string("xslt_stylesheet"),
|
{ ngx_string("xslt_stylesheet"),
|
||||||
NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_CONF_1MORE,
|
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE,
|
||||||
ngx_http_xslt_stylesheet,
|
ngx_http_xslt_stylesheet,
|
||||||
NGX_HTTP_LOC_CONF_OFFSET,
|
NGX_HTTP_LOC_CONF_OFFSET,
|
||||||
0,
|
0,
|
||||||
NULL },
|
NULL },
|
||||||
|
|
||||||
{ ngx_string("xslt_types"),
|
{ ngx_string("xslt_types"),
|
||||||
NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_CONF_1MORE,
|
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE,
|
||||||
ngx_http_types_slot,
|
ngx_http_types_slot,
|
||||||
NGX_HTTP_LOC_CONF_OFFSET,
|
NGX_HTTP_LOC_CONF_OFFSET,
|
||||||
offsetof(ngx_http_xslt_filter_conf_t, types_keys),
|
offsetof(ngx_http_xslt_filter_conf_t, types_keys),
|
||||||
|
Loading…
Reference in New Issue
Block a user