Refine ddev config and htaccess once more, update .gitignore

This commit is contained in:
Björn Fromme
2020-01-25 11:28:50 +01:00
parent 5cd9d03ab5
commit 060a0b0764
20 changed files with 32 additions and 421 deletions
+2 -2
View File
@@ -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