system-config/playbooks/roles/static/files/50-planet.openstack.org.conf
Ian Wienand 609986634f Add planet.openstack.org redirect to static
This handles planet.openstack.org and redirects it to the
opendev.org/openstack/planet-openstack repo, where we will put a
README and the OPML file of the last state as we deprecate this
service.

Change-Id: If141aca5efbdbe60c91ceefaa4e05c98cd0ba5bb
2021-04-13 16:17:09 +10:00

32 lines
1.2 KiB
Plaintext

<VirtualHost *:80>
ServerName planet.openstack.org
RewriteEngine On
RewriteRule ^/(.*) https://opendev.org/openstack/openstack-planet [last,redirect=permanent]
LogLevel warn
ErrorLog /var/log/apache2/planet.openstack.org_error.log
CustomLog /var/log/apache2/planet.openstack.org_access.log combined
ServerSignature Off
</VirtualHost>
<VirtualHost *:443>
ServerName planet.openstack.org
SSLCertificateFile /etc/letsencrypt-certs/planet.openstack.org/planet.openstack.org.cer
SSLCertificateKeyFile /etc/letsencrypt-certs/planet.openstack.org/planet.openstack.org.key
SSLCertificateChainFile /etc/letsencrypt-certs/planet.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://opendev.org/openstack/openstack-planet [last,redirect=permanent]
LogLevel warn
ErrorLog /var/log/apache2/planet.openstack.org_error.log
CustomLog /var/log/apache2/planet.openstack.org_access.log combined
ServerSignature Off
</VirtualHost>