fix proxy header separation
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
c6501209f8
commit
ffdde4d4c6
|
@ -43,10 +43,12 @@ server {
|
||||||
{% if location.proxy_http_version is defined and location.proxy_http_version %}
|
{% if location.proxy_http_version is defined and location.proxy_http_version %}
|
||||||
proxy_http_version {{ location.proxy_http_version }};
|
proxy_http_version {{ location.proxy_http_version }};
|
||||||
{% endif %}
|
{% 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 }};
|
proxy_set_header {{ pheader }};
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue