Closed jbartus closed 1 year ago
https://github.com/jbartus/fsly-demo/blob/0044a03d6aae01fbcd889d6b29aeeb9dafe480cd/main.tf#L48
tf
+ port = 443 + use_ssl = "true" + ssl_check_cert = "false"
shell
-# fix the https redirect loop -echo 'SetEnvIf HTTPS "on" HTTPS="on"' >> /etc/apache2/sites-enabled/000-default.conf +# Enable SSL +a2enmod ssl +a2ensite default-ssl + +sed -i "s;DocumentRoot /var/www/html;DocumentRoot /var/www/magento;g" /etc/apache2/sites-enabled/default-ssl.conf
https://github.com/jbartus/fsly-demo/blob/0044a03d6aae01fbcd889d6b29aeeb9dafe480cd/main.tf#L48
tf
shell