Skip to content

Instantly share code, notes, and snippets.

@graciemae
Last active February 4, 2016 16:01
Show Gist options
  • Save graciemae/b89f7d811934f6e6e27b to your computer and use it in GitHub Desktop.
Save graciemae/b89f7d811934f6e6e27b to your computer and use it in GitHub Desktop.
ServerName www.yourdomain.com
# change http to https
Redirect permanent / https://www.yourdomain.com
SSLEngine On
SSLCertificateFile /etc/apache2/server.cert
SSLCACertificateFile /etc/apache2/intermediate.cert
ServerName www.yourdomain.com
DocumentRoot /var/www/html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment