fix issue with php tpl

This commit is contained in:
Simon Vieille 2019-07-31 00:11:31 +02:00
parent 7cd0534616
commit 101e23ca07
Signed by: deblan
GPG Key ID: 03383D15A1D31745
2 changed files with 4 additions and 4 deletions

View File

@ -9,10 +9,8 @@
SuexecUserGroup {{ SYSTEM_USER_USERNAME }} {{ SYSTEM_USER_GROUP }}
ErrorLog /services/web/logs/{{ DOMAIN }}.log
CustomLog /services/web/logs/{{ DOMAIN }}.log combined
{% if WEB_HTTPS_FORCE == "yes" %}
Redirect permanent / https://{{ DOMAIN }}/
{% endif %}
{% block force_https %}{% if WEB_HTTPS_FORCE == "yes" %}
Redirect permanent / https://{{ DOMAIN }}/{% endif %}{% endblock %}
<Directory {{ DOCUMENT_ROOT }}>
Options -Indexes +FollowSymLinks +MultiViews

View File

@ -21,3 +21,5 @@
BrowserMatch "MSIE [2-6]" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
{% endblock extra %}
{% block force_https %}{% endblock %}