fix modules enabling code

This commit is contained in:
2025-02-18 12:17:49 +01:00
parent 2d4e5a5853
commit dfdae74445
3 changed files with 16 additions and 14 deletions

View File

@@ -11,10 +11,12 @@
Options +indexes
</Directory>
{%if apache_use_ssl %}
<IfModule rewrite>
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} "!^/\.well-known"
RewriteRule (.*) https://%{SERVER_NAME}$1 [R,L]
</IfModule>
{%endif %}
</VirtualHost>