7 lines
245 B
Django/Jinja
7 lines
245 B
Django/Jinja
## sourced by conf.d/scgi/headers.conf
|
|
## hide response headers
|
|
{%- set resp_hdr_dict = j2cfg.response_headers or {} -%}
|
|
{%- set resp_hdr_list = resp_hdr_dict | dict_keys -%}
|
|
{%- for h in resp_hdr_list %}
|
|
scgi_hide_header {{ h }};
|
|
{%- endfor %} |