Browse Source

fix issue with php tpl

master
Simon Vieille 3 months ago
parent
commit
101e23ca07
Signed by: Simon Vieille <simon@deblan.fr> GPG Key ID: 03383D15A1D31745
2 changed files with 4 additions and 4 deletions
  1. 2
    4
      src/templates/vhost-http.twig
  2. 2
    0
      src/templates/vhost-https.twig

+ 2
- 4
src/templates/vhost-http.twig 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

+ 2
- 0
src/templates/vhost-https.twig 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 %}

Loading…
Cancel
Save