Просмотр исходного кода

Merge pull request #74 from shieldwed/nginxconf_indent

format nginx_extra_http_options with indent
Jeff Geerling 9 лет назад
Родитель
Сommit
8c8da64495
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      templates/nginx.conf.j2

+ 1 - 1
templates/nginx.conf.j2

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