Merge "Add ptgbot serveralias for redirecting PTG site"

changes/43/813243/1
Zuul 1 year ago committed by Gerrit Code Review
commit a7e824db47

@ -4,3 +4,4 @@ letsencrypt_certs:
ptg-opendev-org-main:
- ptg.opendev.org
- ptg.openstack.org
- ptgbot.opendev.org

@ -1,6 +1,7 @@
<VirtualHost *:80>
ServerName ptg.opendev.org
ServerAlias ptg.openstack.org
ServerAlias ptgbot.opendev.org
ServerAdmin infra-root@openstack.org
ErrorLog ${APACHE_LOG_DIR}/ptg-error.log
@ -16,7 +17,8 @@
<VirtualHost *:443>
ServerName ptg.opendev.org
ServerAlias ptg.openstack.org
ServerAdmin webmaster@openstack.org
ServerAlias ptgbot.opendev.org
ServerAdmin infra-root@openstack.org
RewriteEngine On
RewriteCond %{HTTP_HOST} !^ptg\.opendev\.org [nocase]

Loading…
Cancel
Save