Browse Source

fix indentation

master
Robert Kaussow 1 month ago
parent
commit
fc57cb72bd
1 changed files with 10 additions and 10 deletions
  1. 10
    10
      templates/etc/nginx/sites-available/vhost.j2

+ 10
- 10
templates/etc/nginx/sites-available/vhost.j2 View File

@@ -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 %}
{% for pheader in location.proxy_headers %}
proxy_set_header {{ pheader }};
{% endfor %}
{% endif %}
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 %}
{% endif %}
}


Loading…
Cancel
Save