Force https for local environment as well
This commit is contained in:
@@ -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$
|
||||
|
||||
Reference in New Issue
Block a user