initial commit
This commit is contained in:
7
angie/snip/fastcgi-response-headers.j2
Normal file
7
angie/snip/fastcgi-response-headers.j2
Normal file
@@ -0,0 +1,7 @@
|
||||
## sourced by conf/fastcgi/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 %}
|
||||
fastcgi_hide_header {{ h }};
|
||||
{%- endfor %}
|
Reference in New Issue
Block a user