summaryrefslogtreecommitdiff
path: root/roles/nginx/vhost/templates/generic-proxy-no-buffering.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nginx/vhost/templates/generic-proxy-no-buffering.conf.j2')
-rw-r--r--roles/nginx/vhost/templates/generic-proxy-no-buffering.conf.j28
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/nginx/vhost/templates/generic-proxy-no-buffering.conf.j2 b/roles/nginx/vhost/templates/generic-proxy-no-buffering.conf.j2
index 2a74697e..665c9d77 100644
--- a/roles/nginx/vhost/templates/generic-proxy-no-buffering.conf.j2
+++ b/roles/nginx/vhost/templates/generic-proxy-no-buffering.conf.j2
@@ -21,17 +21,17 @@ server {
{% if 'proxy_redirect' in location %}
{% for entry in location.proxy_redirect %}
proxy_redirect {{ entry.redirect }} {{ entry.replacement }};
-{% endfor %}
-{% endif %}
+{% endfor %}
+{% endif %}
{% if 'proxy_ssl' in location %}
{% for prop in (location.proxy_ssl | list | sort) %}
proxy_ssl_{{ prop }} {{ location.proxy_ssl[prop] }};
-{% endfor %}
+{% endfor %}
{% endif %}
{% if 'extra_directives' in location %}
{{ location.extra_directives | indent(8) }}
-{% endif %}
+{% endif %}
}
{% endfor %}
}