diff options
Diffstat (limited to 'deployment/websites/templates/vhost_www.conf')
-rw-r--r-- | deployment/websites/templates/vhost_www.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deployment/websites/templates/vhost_www.conf b/deployment/websites/templates/vhost_www.conf index 1d60db0b..c7634759 100644 --- a/deployment/websites/templates/vhost_www.conf +++ b/deployment/websites/templates/vhost_www.conf @@ -7,3 +7,6 @@ RewriteRule ^g/(.+)$ https://static.mageia.org/g/$1 [R,L,QSA] ErrorDocument 404 /404.php php_value short_open_tag false + +# switch all to https +RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] |