Skip to content

Instantly share code, notes, and snippets.

@pierot
Created February 25, 2011 16:26
Show Gist options
  • Select an option

  • Save pierot/844035 to your computer and use it in GitHub Desktop.

Select an option

Save pierot/844035 to your computer and use it in GitHub Desktop.
<VirtualHost 127.0.0.1:443>
DocumentRoot "/Sites/secure-site/"
ServerName https.local
SSLEngine on
SSLCertificateFile /Users/xxx/.certs/newcert.pem
SSLCertificateKeyFile /Users/xxx/.certs/secureserver.nopass.key
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/Sites/secure-site/"
ServerName https.local
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment