This commit is contained in:
parent
ffdde4d4c6
commit
fc57cb72bd
@ -39,16 +39,16 @@ server {
|
|||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if location.proxy_pass is defined and location.proxy_pass %}
|
{% if location.proxy_pass is defined and location.proxy_pass %}
|
||||||
proxy_pass {{ location.proxy_pass }};
|
proxy_pass {{ location.proxy_pass }};
|
||||||
{% 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 %}
|
||||||
{% if location.proxy_headers is defined and location.proxy_headers %}
|
{% if location.proxy_headers is defined and location.proxy_headers %}
|
||||||
|
|
||||||
{% for pheader in location.proxy_headers %}
|
{% for pheader in location.proxy_headers %}
|
||||||
proxy_set_header {{ pheader }};
|
proxy_set_header {{ pheader }};
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user