Merge "Add ptgbot serveralias for redirecting PTG site"
This commit is contained in:
commit
a7e824db47
@ -4,3 +4,4 @@ letsencrypt_certs:
|
|||||||
ptg-opendev-org-main:
|
ptg-opendev-org-main:
|
||||||
- ptg.opendev.org
|
- ptg.opendev.org
|
||||||
- ptg.openstack.org
|
- ptg.openstack.org
|
||||||
|
- ptgbot.opendev.org
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName ptg.opendev.org
|
ServerName ptg.opendev.org
|
||||||
ServerAlias ptg.openstack.org
|
ServerAlias ptg.openstack.org
|
||||||
|
ServerAlias ptgbot.opendev.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
|
||||||
@ -16,7 +17,8 @@
|
|||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
ServerName ptg.opendev.org
|
ServerName ptg.opendev.org
|
||||||
ServerAlias ptg.openstack.org
|
ServerAlias ptg.openstack.org
|
||||||
ServerAdmin webmaster@openstack.org
|
ServerAlias ptgbot.opendev.org
|
||||||
|
ServerAdmin infra-root@openstack.org
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteCond %{HTTP_HOST} !^ptg\.opendev\.org [nocase]
|
RewriteCond %{HTTP_HOST} !^ptg\.opendev\.org [nocase]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user