Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example SSL configuration for Apache
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