proxies: stg.release-monitoring.org make this it's own site

Normally we can just define the site once with it's prod name and use
that in stg with an alias. This works because we have a wildcard ssl
cert for *.fedoraproject.org. So, stg.fedoraproject.org and
fedoraproject.org both work fine. We can't do this for
release-monitoring tho as we use letsencrypt certs and don't have a
wildcard. We could expand out letsencrypt role to get altnames, but just
making these seperate sites should fix it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-11-12 11:13:23 -08:00
parent 177465221c
commit 22ef05d3f2
2 changed files with 19 additions and 1 deletions

View file

@ -719,6 +719,16 @@
targettype: openshift
keephost: true
tags: release-montoring.org
when: env == "production"
- role: httpd/reverseproxy
website: stg.release-monitoring.org
destname: stg.release-monitoring
balancer_name: app-os
targettype: openshift
keephost: true
tags: release-montoring.org
when: env == "staging"
- role: httpd/reverseproxy
website: whatcanidoforfedora.org

View file

@ -883,9 +883,17 @@
site_name: release-monitoring.org
sslonly: true
certbot: true
server_aliases: [stg.release-monitoring.org]
tags:
- release-monitoring.org
when: env == "production"
- role: httpd/website
site_name: stg.release-monitoring.org
sslonly: true
certbot: true
tags:
- release-monitoring.org
when: env == "staging"
- role: httpd/website
site_name: lists.pagure.io