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
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
Options Indexes FollowSymLinks MultiViews
Require all granted
AllowOverride None
# Allow mod_rewrite rules
AllowOverrideList Redirect RedirectMatch
ErrorDocument 404 /errorpage.html
ErrorLog /var/log/apache2/docs.starlingx.io_error.log
LogLevel warn
CustomLog /var/log/apache2/docs.starlingx.io_access.log combined
ServerSignature Off