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