render apache config with spaces instead of tabs, as the indent filter apparently doesnt support tabs...
This commit is contained in:
parent
df32421381
commit
263262341a
1 changed files with 25 additions and 23 deletions
|
@ -15,10 +15,12 @@
|
|||
|
||||
{% if site.http_redirect_to_https | default(apache2_vhost_http_redirect_to_https) %}
|
||||
Redirect permanent / https://{{ name }}/
|
||||
|
||||
{% else %}
|
||||
DocumentRoot {{ site.documentroot | default(apache2_vhost_documentroot) }}
|
||||
|
||||
{{ site.additional_config | indent(8) }}
|
||||
{{ site.additional_config | indent(4) }}
|
||||
|
||||
{% endif %}
|
||||
|
||||
</VirtualHost>
|
||||
|
@ -49,7 +51,7 @@
|
|||
|
||||
DocumentRoot {{ site.documentroot | default(apache2_vhost_documentroot) }}
|
||||
|
||||
{{ site.additional_config | indent(8) }}
|
||||
{{ site.additional_config | indent(4) }}
|
||||
|
||||
</VirtualHost>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue