From d1c1e0dc02ed8c275bb9adbc11b88ccd9e2b142a Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 7 Oct 2021 10:35:01 +1100 Subject: [PATCH] ptgbot: Add ServerAlias for ptg.openstack.org Ensure the old site redirects to the new site Change-Id: I85a9616db3b0c8c443db927f751da8c2c418c318 --- playbooks/roles/ptgbot/templates/ptgbot.vhost.config.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/roles/ptgbot/templates/ptgbot.vhost.config.j2 b/playbooks/roles/ptgbot/templates/ptgbot.vhost.config.j2 index f28a8f6be2..e1180b3f25 100644 --- a/playbooks/roles/ptgbot/templates/ptgbot.vhost.config.j2 +++ b/playbooks/roles/ptgbot/templates/ptgbot.vhost.config.j2 @@ -1,5 +1,6 @@ ServerName ptg.opendev.org + ServerAlias ptg.openstack.org ServerAdmin infra-root@openstack.org ErrorLog ${APACHE_LOG_DIR}/ptg-error.log @@ -14,6 +15,7 @@ ServerName ptg.opendev.org + ServerAlias ptg.openstack.org ServerAdmin webmaster@openstack.org RewriteCond %{HTTP_HOST} !^ptg\.opendev\.org [nocase]