From fc57cb72bdc0e0799914b133f005edc557d10299 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 18 Jul 2019 23:55:55 +0200 Subject: [PATCH] fix indentation --- templates/etc/nginx/sites-available/vhost.j2 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/templates/etc/nginx/sites-available/vhost.j2 b/templates/etc/nginx/sites-available/vhost.j2 index b61ad27..a51b378 100644 --- a/templates/etc/nginx/sites-available/vhost.j2 +++ b/templates/etc/nginx/sites-available/vhost.j2 @@ -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 %} }