Force https for local environment as well

This commit is contained in:
Björn Fromme
2018-09-14 11:00:57 +02:00
parent fe8c59e83c
commit 8ef243e823
+3
View File
@@ -264,6 +264,9 @@ AddDefaultCharset utf-8
# Enable URL rewriting
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L]
# Store the current location in an environment variable CWD to use
# mod_rewrite in .htaccess files without knowing the RewriteBase
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$