
To remain consistent with "ptg.openstack.org", we are dropping the "bot" Depends-On: https://review.opendev.org/c/opendev/zone-opendev.org/+/812757 Change-Id: I5f06ee08241a286178fcb1be5c19fee6b6086d6f
44 lines
1.2 KiB
Django/Jinja
44 lines
1.2 KiB
Django/Jinja
<VirtualHost *:80>
|
|
ServerName ptg.opendev.org
|
|
ServerAdmin infra-root@openstack.org
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/ptg-error.log
|
|
|
|
LogLevel warn
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/ptg-access.log combined
|
|
|
|
Redirect / https://ptg.opendev.org/
|
|
|
|
</VirtualHost>
|
|
|
|
<VirtualHost *:443>
|
|
ServerName ptg.opendev.org
|
|
ServerAdmin webmaster@openstack.org
|
|
|
|
RewriteCond %{HTTP_HOST} !^ptg\.opendev\.org [nocase]
|
|
RewriteRule ^/(.*) https://ptg.opendev.org/$1 [last,redirect=permanent]
|
|
|
|
AllowEncodedSlashes On
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/ptg-ssl-error.log
|
|
|
|
LogLevel warn
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/ptg-ssl-access.log combined
|
|
|
|
SSLEngine on
|
|
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
|
|
|
|
SSLCertificateFile /etc/letsencrypt-certs/ptg.opendev.org/ptg.opendev.org.cer
|
|
SSLCertificateKeyFile /etc/letsencrypt-certs/ptg.opendev.org/ptg.opendev.org.key
|
|
SSLCertificateChainFile /etc/letsencrypt-certs/ptg.opendev.org/ca.cer
|
|
|
|
ProxyPass / http://localhost:8000/ retry=0
|
|
ProxyPassReverse / http://localhost:8000/
|
|
|
|
</VirtualHost>
|