fix handling of proxy_ignore_headers
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
39f7b3b47d
commit
bff417a33a
@ -94,9 +94,7 @@ server {
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if location.proxy_ignore_headers is defined and location.proxy_ignore_headers %}
|
{% if location.proxy_ignore_headers is defined and location.proxy_ignore_headers %}
|
||||||
|
|
||||||
{% for ignore in location.proxy_ignore_headers %}
|
proxy_ignore_headers {{ ignore | join(" ") }};
|
||||||
proxy_ignore_header {{ ignore }};
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if location.custom_options is defined and location.custom_options %}
|
{% if location.custom_options is defined and location.custom_options %}
|
||||||
|
Loading…
Reference in New Issue
Block a user