Merge "Add ptgbot serveralias for redirecting PTG site"

This commit is contained in:
Zuul 2021-10-07 22:21:42 +00:00 committed by Gerrit Code Review
commit a7e824db47
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -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]