Last active
April 23, 2018 17:42
-
-
Save realsby/75575ea0a6bad5eae1ee831c952bed5a to your computer and use it in GitHub Desktop.
Apache2 https to http
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 *:443> | |
ServerAdmin [email protected] | |
ServerName maindomain.com | |
ServerAlias otherdomain.com | |
SSLEngine on | |
SSLCertificateFile /var/Certs/star-bundle.cert | |
SSLCertificateKeyFile /var/Certs/cert.key | |
SSLProtocol -ALL +SSLv3 +TLSv1 | |
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP | |
RewriteEngine On | |
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment