fix handling of proxy_ignore_headers
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2021-05-20 14:57:37 +02:00
parent 39f7b3b47d
commit bff417a33a
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
1 changed files with 1 additions and 3 deletions

View File

@ -94,9 +94,7 @@ server {
{% endif %}
{% if location.proxy_ignore_headers is defined and location.proxy_ignore_headers %}
{% for ignore in location.proxy_ignore_headers %}
proxy_ignore_header {{ ignore }};
{% endfor %}
proxy_ignore_headers {{ ignore | join(" ") }};
{% endif %}
{% endif %}
{% if location.custom_options is defined and location.custom_options %}