7 lines
266 B
Django/Jinja
7 lines
266 B
Django/Jinja
## sourced by conf.d/scgi/headers.conf
|
|
## hide/remove request headers
|
|
{%- set req_hdr_dict = j2cfg.request_headers or {} -%}
|
|
{%- for h, v in req_hdr_dict.items() %}
|
|
{#- TODO: precise quotation #}
|
|
scgi_param {{ h | as_cgi_header }} {{ v.__repr__() }};
|
|
{%- endfor %} |