ptgbot: Add ServerAlias for ptg.openstack.org
Ensure the old site redirects to the new site Change-Id: I85a9616db3b0c8c443db927f751da8c2c418c318
This commit is contained in:
parent
67c08d52ad
commit
d1c1e0dc02
|
@ -1,5 +1,6 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName ptg.opendev.org
|
ServerName ptg.opendev.org
|
||||||
|
ServerAlias ptg.openstack.org
|
||||||
ServerAdmin infra-root@openstack.org
|
ServerAdmin infra-root@openstack.org
|
||||||
|
|
||||||
ErrorLog ${APACHE_LOG_DIR}/ptg-error.log
|
ErrorLog ${APACHE_LOG_DIR}/ptg-error.log
|
||||||
|
@ -14,6 +15,7 @@
|
||||||
|
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
ServerName ptg.opendev.org
|
ServerName ptg.opendev.org
|
||||||
|
ServerAlias ptg.openstack.org
|
||||||
ServerAdmin webmaster@openstack.org
|
ServerAdmin webmaster@openstack.org
|
||||||
|
|
||||||
RewriteCond %{HTTP_HOST} !^ptg\.opendev\.org [nocase]
|
RewriteCond %{HTTP_HOST} !^ptg\.opendev\.org [nocase]
|
||||||
|
|
Loading…
Reference in New Issue