fix proxy header separation
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
c6501209f8
commit
ffdde4d4c6
@ -43,11 +43,13 @@ server {
|
||||
{% if location.proxy_http_version is defined and location.proxy_http_version %}
|
||||
proxy_http_version {{ location.proxy_http_version }};
|
||||
{% endif %}
|
||||
{% for pheader in location.proxy_headers | default([]) %}
|
||||
{% if location.proxy_headers is defined and location.proxy_headers %}
|
||||
|
||||
{% for pheader in location.proxy_headers %}
|
||||
proxy_set_header {{ pheader }};
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user