Explorar o código

Merge pull request #74 from shieldwed/nginxconf_indent

format nginx_extra_http_options with indent
Jeff Geerling %!s(int64=9) %!d(string=hai) anos
pai
achega
8c8da64495
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      templates/nginx.conf.j2

+ 1 - 1
templates/nginx.conf.j2

@@ -42,7 +42,7 @@ http {
 {% endif %}
 {% endif %}
 
 
 {% if nginx_extra_http_options %}
 {% if nginx_extra_http_options %}
-    {{ nginx_extra_http_options }}
+    {{ nginx_extra_http_options|indent(4, False) }}
 {% endif %}
 {% endif %}
 
 
 {% for upstream in nginx_upstreams %}
 {% for upstream in nginx_upstreams %}