conf: add some missing escapes
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{%- if mime_types -%}
|
||||
brotli_types
|
||||
{%- for t in mime_types %}
|
||||
{{ t }}
|
||||
{{ t | ngx_esc }}
|
||||
{%- endfor %}
|
||||
;
|
||||
{%- endif -%}
|
@@ -3,7 +3,7 @@
|
||||
{%- if mime_types -%}
|
||||
gzip_types
|
||||
{%- for t in mime_types %}
|
||||
{{ t }}
|
||||
{{ t | ngx_esc }}
|
||||
{%- endfor %}
|
||||
;
|
||||
{%- endif -%}
|
@@ -4,7 +4,7 @@ include conf/ssl/*.conf;
|
||||
ssl_buffer_size 4k;
|
||||
|
||||
{%- if env.NGX_HTTP_SSL_PROFILE %}
|
||||
include snip/ssl-{{ env.NGX_HTTP_SSL_PROFILE }};
|
||||
include {{ "snip/ssl-{}".format(env.NGX_HTTP_SSL_PROFILE) | ngx_esc }};
|
||||
{%- endif %}
|
||||
|
||||
{%- if j2cfg.tls.stapling.enable %}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
include conf/ssl/*.conf;
|
||||
|
||||
{%- if env.NGX_MAIL_SSL_PROFILE %}
|
||||
include snip/ssl-{{ env.NGX_MAIL_SSL_PROFILE }};
|
||||
include {{ "snip/ssl-{}".format(env.NGX_MAIL_SSL_PROFILE) | ngx_esc }};
|
||||
{%- endif %}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
include conf/ssl/*.conf;
|
||||
|
||||
{%- if env.NGX_STREAM_SSL_PROFILE %}
|
||||
include snip/ssl-{{ env.NGX_STREAM_SSL_PROFILE }};
|
||||
include {{ "snip/ssl-{}".format(env.NGX_STREAM_SSL_PROFILE) | ngx_esc }};
|
||||
{%- endif %}
|
||||
|
@@ -3,7 +3,7 @@
|
||||
{%- if mime_types -%}
|
||||
zstd_types
|
||||
{%- for t in mime_types %}
|
||||
{{ t }}
|
||||
{{ t | ngx_esc }}
|
||||
{%- endfor %}
|
||||
;
|
||||
{%- endif -%}
|
Reference in New Issue
Block a user