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) %}
|
{% 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 %}
|
||||||
|
|
Loading…
Reference in a new issue