1
0
angie-conv-image/angie/conf.dist/http-response-headers.conf.j2

6 lines
207 B
Plaintext
Raw Normal View History

2024-07-24 22:47:53 +03:00
## add response headers
2024-07-31 14:04:15 +03:00
{%- set resp_hdr_dict = j2cfg.response_headers or {} -%}
{%- for h, v in resp_hdr_dict.items() %}
2024-07-24 22:47:53 +03:00
{#- TODO: precise quotation #}
add_header {{ h }} {{ v.__repr__() }};
2024-07-31 14:04:15 +03:00
{%- endfor %}