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) %} {% if site.http_redirect_to_https | default(apache2_vhost_http_redirect_to_https) %}
Redirect permanent / https://{{ name }}/ Redirect permanent / https://{{ name }}/
{% else %} {% else %}
DocumentRoot {{ site.documentroot | default(apache2_vhost_documentroot) }} DocumentRoot {{ site.documentroot | default(apache2_vhost_documentroot) }}
{{ site.additional_config | indent(8) }} {{ site.additional_config | indent(4) }}
{% endif %} {% endif %}
</VirtualHost> </VirtualHost>
@ -49,7 +51,7 @@
DocumentRoot {{ site.documentroot | default(apache2_vhost_documentroot) }} DocumentRoot {{ site.documentroot | default(apache2_vhost_documentroot) }}
{{ site.additional_config | indent(8) }} {{ site.additional_config | indent(4) }}
</VirtualHost> </VirtualHost>
{% endif %} {% endif %}