system-config/playbooks/roles/static/files/50-nova.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 nova.openstack.org
RewriteEngine On
RewriteRule ^/(.*) https://docs.openstack.org/nova/latest/$1 [last,redirect=permanent]
LogLevel warn
ErrorLog /var/log/apache2/nova.openstack.org_error.log
CustomLog /var/log/apache2/nova.openstack.org_access.log combined
ServerSignature Off
</VirtualHost>
<VirtualHost *:443>
ServerName nova.openstack.org
SSLCertificateFile /etc/letsencrypt-certs/nova.openstack.org/nova.openstack.org.cer
SSLCertificateKeyFile /etc/letsencrypt-certs/nova.openstack.org/nova.openstack.org.key
SSLCertificateChainFile /etc/letsencrypt-certs/nova.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/nova/latest/$1 [last,redirect=permanent]
LogLevel warn
ErrorLog /var/log/apache2/nova.openstack.org_error.log
CustomLog /var/log/apache2/nova.openstack.org_access.log combined
ServerSignature Off
</VirtualHost>