d961b6d0d4
This is a slight divergence from the accepted spec, where we were going to implement these redirects via a new haproxy instance (I961456d44a56f2334d3c94ef27e408f27409cd65). We've decided it's easier to keep them on static.opendev.org The following sites are configured to redirect to whatever they are redirecting to now on static.opendev.org: * devstack.org * www.devstack.org * ci.openstack.org * cinder.openstack.org * glance.openstack.org * horizon.openstack.org * keystone.openstack.org * nova.openstack.org * qa.openstack.org * summit.openstack.org * swift.openstack.org As a bonus, they all get a https instance too, which they didn't have before. testinfra coverage should be total for this change. I have created the _acme-challange CNAME records for all the above. Story: #2006598 Task: #38881 Change-Id: I3f1fc108e7bb1c9500ad4d1a51df13bb4ae00cb9
53 lines
1.7 KiB
Plaintext
53 lines
1.7 KiB
Plaintext
<VirtualHost *:80>
|
|
ServerName zuul-ci.org
|
|
ServerAlias www.zuul-ci.org
|
|
ServerAlias zuulci.org
|
|
ServerAlias www.zuulci.org
|
|
|
|
RewriteEngine on
|
|
RewriteRule ^/(.*) https://zuul-ci.org/$1 [last,redirect=permanent]
|
|
|
|
ErrorLog /var/log/apache2/zuul-ci.org_error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/apache2/zuul-ci.org_access.log combined
|
|
ServerSignature Off
|
|
</VirtualHost>
|
|
|
|
<IfModule mod_ssl.c>
|
|
<VirtualHost *:443>
|
|
ServerName zuul-ci.org
|
|
ServerAlias www.zuul-ci.org
|
|
ServerAlias zuulci.org
|
|
ServerAlias www.zuulci.org
|
|
|
|
RewriteEngine on
|
|
|
|
SSLEngine on
|
|
SSLProtocol All -SSLv2 -SSLv3
|
|
# Once the machine is using something to terminate TLS that supports ECDHE
|
|
# then this should be edited to remove the RSA+AESGCM:RSA+AES so that PFS
|
|
# only is guarenteed.
|
|
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!AES256:!aNULL:!eNULL:!MD5:!DSS:!PSK:!SRP
|
|
SSLHonorCipherOrder on
|
|
SSLCertificateFile /etc/letsencrypt-certs/zuul-ci.org/zuul-ci.org.cer
|
|
SSLCertificateKeyFile /etc/letsencrypt-certs/zuul-ci.org/zuul-ci.org.key
|
|
SSLCertificateChainFile /etc/letsencrypt-certs/zuul-ci.org/ca.cer
|
|
|
|
DocumentRoot /afs/openstack.org/project/zuul-ci.org/www
|
|
<Directory /afs/openstack.org/project/zuul-ci.org/www>
|
|
Options Indexes FollowSymLinks MultiViews
|
|
Satisfy any
|
|
Require all granted
|
|
AllowOverride None
|
|
# Allow mod_rewrite rules
|
|
AllowOverrideList Redirect RedirectMatch
|
|
ErrorDocument 404 /errorpage.html
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/apache2/zuul-ci.org_error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/apache2/zuul-ci.org_access.log combined
|
|
ServerSignature Off
|
|
</VirtualHost>
|
|
</IfModule>
|