initial commit
This commit is contained in:
6
angie/snip/proxy-request-headers.j2
Normal file
6
angie/snip/proxy-request-headers.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
## sourced by conf/proxy-http/headers.conf
|
||||
## set/remove request headers
|
||||
{%- set req_hdr_dict = j2cfg.request_headers or {} -%}
|
||||
{%- for h, v in req_hdr_dict|dictsort %}
|
||||
proxy_set_header {{ h }} {{ v | ngx_esc }};
|
||||
{%- endfor %}
|
Reference in New Issue
Block a user