Created
July 12, 2023 22:40
-
-
Save sarahcssiqueira/a7b033b1801ec76b23fae37c212e352d to your computer and use it in GitHub Desktop.
Fix error "Could not reverse map the HTTPS VirtualHost to the original"
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_ssl.c> | |
<VirtualHost *:443> | |
ServerAdmin webmaster@localhost | |
ServerName domain-name.com | |
ServerAlias www.domain-name.com | |
DocumentRoot /var/www/domain-name | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
Include /etc/letsencrypt/options-ssl-apache.conf | |
SSLCertificateFile /etc/letsencrypt/live/domain-name.com/fullchain.pem | |
SSLCertificateKeyFile /etc/letsencrypt/live/domain-name.com/privkey.pem | |
</VirtualHost> | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment