possible fix for beta cockpit ssl issues
This commit is contained in:
parent
0d2a3e5c91
commit
0d48430ea5
@ -43,48 +43,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<VirtualHost _IP_:80>
|
||||
ServerName cockpit._DOMAIN_
|
||||
ServerAlias beta.cockpit._DOMAIN_
|
||||
DocumentRoot /home/cockpit.crunchbutton/www
|
||||
ServerAdmin webmaster@cockpit.crunchr.co
|
||||
UseCanonicalName Off
|
||||
ErrorLog /home/cockpit.crunchbutton/logs/error_log
|
||||
CustomLog /home/cockpit.crunchbutton/logs/access_log combined
|
||||
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteCond %{HTTPS} off
|
||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
|
||||
</IfModule>
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost _IP_:443>
|
||||
ServerName cockpit._DOMAIN_
|
||||
ServerAlias beta.cockpit._DOMAIN_
|
||||
DocumentRoot /home/cockpit.crunchbutton/www
|
||||
ServerAdmin webmaster@cockpit.crunchr.co
|
||||
UseCanonicalName Off
|
||||
ErrorLog /home/cockpit.crunchbutton/logs/error_log
|
||||
CustomLog /home/cockpit.crunchbutton/logs/access_log combined
|
||||
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"
|
||||
|
||||
SSLEngine on
|
||||
SSLCertificateFile /home/server/ssl/wild.sha-2._DOMAIN_.crt
|
||||
SSLCertificateKeyFile /home/server/ssl/wild.sha-2._DOMAIN_.key.private
|
||||
SSLCACertificateFile /home/server/ssl/wild.sha-2._DOMAIN_.cabundle
|
||||
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
|
||||
</VirtualHost>
|
||||
|
||||
|
||||
|
||||
|
||||
<VirtualHost 66.175.217.154:80>
|
||||
ServerName cockpit._DOMAIN_
|
||||
ServerAlias beta.cockpit._DOMAIN_
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user