
This creates sites to serve developer.openstack.org docs.openstack.org docs.opendev.org docs.starlingx.io which are all just static directories underneath /afs/openstack.org/. This is currently done by files02.openstack.org, but will be better served in the future by consolidating in ansible configuration on static.opendev.org. The following dns entries need to be made before merging to ensure the certificates are provisioned _acme-challenge.developer.openstack.org _acme-challenge.docs.openstack.org _acme-challenge.docs.opendev.org _acme-challenge.docs.starlingx.io Once done, we can merge and then cut-over the main DNS entries as we like. Since there are some follow-ons, I have not removed the puppet configuration from files02.openstack.org. I think it's best we migrate everything away from that and remove it in one lot. Change-Id: I459a36f823a8868e6cc09e2b0d85f2fe05d69002
44 lines
1.5 KiB
Plaintext
Executable File
44 lines
1.5 KiB
Plaintext
Executable File
<VirtualHost *:80>
|
|
ServerName docs.starlingx.io
|
|
|
|
RewriteEngine on
|
|
RewriteRule ^/(.*) https://docs.starlingx.io/$1 [last,redirect=permanent]
|
|
|
|
ErrorLog /var/log/apache2/docs.starlingx.io_error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/apache2/docs.starlingx.io_access.log combined
|
|
ServerSignature Off
|
|
</VirtualHost>
|
|
|
|
<IfModule mod_ssl.c>
|
|
<VirtualHost *:443>
|
|
ServerName docs.starlingx.io
|
|
|
|
RewriteEngine on
|
|
|
|
SSLCertificateFile /etc/letsencrypt-certs/docs.starlingx.io/docs.starlingx.io.cer
|
|
SSLCertificateKeyFile /etc/letsencrypt-certs/docs.starlingx.io/docs.starlingx.io.key
|
|
SSLCertificateChainFile /etc/letsencrypt-certs/docs.starlingx.io/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
|
|
|
|
DocumentRoot /afs/openstack.org/project/starlingx.io/www
|
|
<Directory /afs/openstack.org/project/starlingx.io/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/docs.starlingx.io_error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/apache2/docs.starlingx.io_access.log combined
|
|
ServerSignature Off
|
|
</VirtualHost>
|
|
</IfModule>
|