render apache config with spaces instead of tabs, as the indent filter apparently doesnt support tabs...

This commit is contained in:
s3lph 2021-04-26 02:09:22 +02:00
parent df32421381
commit 263262341a

View file

@ -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 %}