Proxy: attempt to move ipsilon back to a VM in staging

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2020-10-07 10:59:41 +02:00
parent 7e7399fb50
commit 38cc67731b
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
2 changed files with 43 additions and 0 deletions

View file

@ -176,6 +176,7 @@
keephost: true
tags:
- id.fedoraproject.org
when: env == "production"
- role: httpd/reverseproxy
website: "sso{{ env_suffix }}.fedoraproject.org"
@ -185,6 +186,7 @@
keephost: true
tags:
- sso.fedoraproject.org
when: env == "production"
- role: httpd/reverseproxy
website: "username.id{{ env_suffix }}.fedoraproject.org"
@ -194,6 +196,33 @@
keephost: true
tags:
- id.fedoraproject.org
when: env == "production"
# Ipsilon is moving back to a VM in staging
- role: httpd/reverseproxy
website: "id{{ env_suffix }}.fedoraproject.org"
website: id.stg.fedoraproject.org
destname: id
proxyurl: http://localhost:10020
tags:
- id.fedoraproject.org
when: env == "staging"
- role: httpd/reverseproxy
website: "sso{{ env_suffix }}.fedoraproject.org"
destname: id
proxyurl: http://localhost:10020
tags:
- id.fedoraproject.org
when: env == "staging"
- role: httpd/reverseproxy
website: "username.id{{ env_suffix }}.fedoraproject.org"
destname: usernameid
proxyurl: http://localhost:10020
tags:
- id.fedoraproject.org
when: env == "staging"
- role: httpd/reverseproxy
website: "id{{ env_suffix }}.fedoraproject.org"

View file

@ -267,6 +267,20 @@ backend pps-backend
{% endif %}
{% if env == "staging" %}
frontend ipsilon-frontend
bind 0.0.0.0:10020
default_backend ipsilon-backend
backend ipsilon-backend
balance hdr(appserver)
server ipsilon01 ipsilon01:80 check inter 10s rise 1 fall 2
{% if env == "production" %}
server ipsilon02 ipsilon02:80 check inter 10s rise 1 fall 2
{% endif %}
option httpchk GET /
{% endif %}
frontend ipa-frontend
bind 0.0.0.0:10053
default_backend ipa-backend