Created
February 13, 2017 23:17
-
-
Save strangerstudios/eef97f91ec473701d06b582b2972b757 to your computer and use it in GitHub Desktop.
Example SSL configuration for Apache
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
NameVirtualHost *:443 | |
<VirtualHost *:443> | |
SSLEngine on | |
DocumentRoot /var/www/vhosts/yourdomain.com/httpdocs/ | |
ServerName yourdomain.com | |
ErrorLog /var/www/vhosts/yourdomain.com/logs/error.log | |
CustomLog /var/www/vhosts/yourdomain.com/access.log combined | |
SSLCertificateFile /etc/letsencrypt/live/yourdomain.com/cert.pem | |
SSLCertificateKeyFile /etc/letsencrypt/live/yourdomain.com/privkey.pem | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment