system-config/playbooks/roles/static/files/50-horizon.openstack.org.conf
Andreas Jaeger 03276e0c93 Update redirects for legacy sides
The content for many projects has moved but the legacy redirects were
not updated, update to current location.

Change-Id: I7030ad35378085b0c45429c272dc24f00d33b2d2
2020-02-27 10:06:25 +01:00

32 lines
1.2 KiB
Plaintext

<VirtualHost *:80>
ServerName horizon.openstack.org
RewriteEngine On
RewriteRule ^/(.*) https://docs.openstack.org/horizon/latest/$1 [last,redirect=permanent]
LogLevel warn
ErrorLog /var/log/apache2/horizon.openstack.org_error.log
CustomLog /var/log/apache2/horizon.openstack.org_access.log combined
ServerSignature Off
</VirtualHost>
<VirtualHost *:443>
ServerName horizon.openstack.org
SSLCertificateFile /etc/letsencrypt-certs/horizon.openstack.org/horizon.openstack.org.cer
SSLCertificateKeyFile /etc/letsencrypt-certs/horizon.openstack.org/horizon.openstack.org.key
SSLCertificateChainFile /etc/letsencrypt-certs/horizon.openstack.org/ca.cer
SSLProtocol All -SSLv2 -SSLv3
# Note: this list should ensure ciphers that provide forward secrecy
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:!AES256:!aNULL:!eNULL:!MD5:!DSS:!PSK:!SRP
SSLHonorCipherOrder on
RewriteEngine On
RewriteRule ^/(.*) https://docs.openstack.org/horizon/latest/$1 [last,redirect=permanent]
LogLevel warn
ErrorLog /var/log/apache2/horizon.openstack.org_error.log
CustomLog /var/log/apache2/horizon.openstack.org_access.log combined
ServerSignature Off
</VirtualHost>