ptgbot: Add ServerAlias for ptg.openstack.org

Ensure the old site redirects to the new site

Change-Id: I85a9616db3b0c8c443db927f751da8c2c418c318
This commit is contained in:
Ian Wienand 2021-10-07 10:35:01 +11:00
parent 67c08d52ad
commit d1c1e0dc02
1 changed files with 2 additions and 0 deletions

View File

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