2024-11-08 12:10:06 +03:00
|
|
|
## sourced by conf.d/fastcgi/headers.conf
|
2024-09-17 14:11:00 +03:00
|
|
|
## hide/remove request headers
|
|
|
|
{%- set req_hdr_dict = j2cfg.request_headers or {} -%}
|
|
|
|
{%- for h, v in req_hdr_dict.items() %}
|
|
|
|
{#- TODO: precise quotation #}
|
|
|
|
fastcgi_param {{ h | as_cgi_header }} {{ v.__repr__() }};
|
|
|
|
{%- endfor %}
|