Last active
January 12, 2022 15:47
-
-
Save mandrasch/922e15260176d6d03c67d62d5c405c8b to your computer and use it in GitHub Desktop.
DDEV "ERR_TOO_MANY_REDIRECTS" because HTTPS is not available (because SSL proxy?)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] | |
</IfModule> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .ddev/config.yaml | |
name: temp-test-htacess-https | |
type: wordpress | |
docroot: "" | |
php_version: "7.4" | |
webserver_type: apache-fpm | |
router_http_port: "80" | |
router_https_port: "443" | |
xdebug_enabled: false | |
additional_hostnames: [] | |
additional_fqdns: [] | |
mariadb_version: "10.3" | |
mysql_version: "" | |
nfs_mount_enabled: false | |
mutagen_enabled: false | |
use_dns_when_possible: true | |
composer_version: "2" | |
web_environment: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo "Hello DDEV! <3"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment