Refine ddev config and htaccess once more, update .gitignore
This commit is contained in:
+2
-2
@@ -236,9 +236,9 @@ AddDefaultCharset utf-8
|
||||
# Enable URL rewriting
|
||||
RewriteEngine On
|
||||
|
||||
# Force SSL for all domains except ddev
|
||||
# Force SSL
|
||||
RewriteCond %{HTTPS} off
|
||||
RewriteCond %{HTTP_HOST} !\.ddev\.site$
|
||||
RewriteCond %{HTTP:X-Forwarded-Proto} =http
|
||||
RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L]
|
||||
|
||||
# Store the current location in an environment variable CWD to use
|
||||
|
||||
Reference in New Issue
Block a user