Skip to content

Instantly share code, notes, and snippets.

@tsertkov
Created September 9, 2013 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsertkov/6494515 to your computer and use it in GitHub Desktop.
Save tsertkov/6494515 to your computer and use it in GitHub Desktop.
Apache partial configuration script included from VirtualHosts to decouple and reuse ssl configuration.
SSLEngine on
SSLCertificateFile /etc/ssl/example.com.pem
<FilesMatch "\.(phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment