Created
July 22, 2020 11:53
-
-
Save khasky/f77fe54b95bfd59498a5b8ab780af957 to your computer and use it in GitHub Desktop.
Apache2 VPS https conf
This file contains 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 hello@khasky.com | |
ServerName khasky.com | |
ServerAlias www.khasky.com | |
DocumentRoot /var/www/khasky.com/public_html | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
Include /etc/letsencrypt/options-ssl-apache.conf | |
SSLCertificateFile /etc/letsencrypt/live/khasky.com/fullchain.pem | |
SSLCertificateKeyFile /etc/letsencrypt/live/khasky.com/privkey.pem | |
</VirtualHost> | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment