Created
October 24, 2016 16:49
-
-
Save iamhunter/d83c4d8e9390cf9b53f1f2eefbeeeead to your computer and use it in GitHub Desktop.
Virtual Host example for SSL with cloudflare
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
<VirtualHost Local.IP.Address:443> | |
DocumentRoot /var/www/html | |
ServerName www.example.com | |
SSLEngine on | |
SSLCertificateFile /var/www/html/ssl/cert.crt | |
SSLCertificateKeyFile /var/www/html/ssl/key.key | |
<Directory "/var/www/html"> | |
AllowOverride All | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment