Create candidate registry at proxy
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
085a2b63fc
commit
0cd6667e7f
4 changed files with 23 additions and 0 deletions
|
@ -43,6 +43,9 @@
|
||||||
website: budget.fedoraproject.org
|
website: budget.fedoraproject.org
|
||||||
- role: fedora-web/registry
|
- role: fedora-web/registry
|
||||||
website: registry.fedoraproject.org
|
website: registry.fedoraproject.org
|
||||||
|
- role: fedora-web/candidate-registry
|
||||||
|
website: candidate-registry.fedoraproject.org
|
||||||
|
when: env == "staging"
|
||||||
- role: fedora-web/codecs
|
- role: fedora-web/codecs
|
||||||
website: codecs.fedoraproject.org
|
website: codecs.fedoraproject.org
|
||||||
- role: fedora-web/alt
|
- role: fedora-web/alt
|
||||||
|
|
|
@ -501,6 +501,12 @@
|
||||||
destname: registry
|
destname: registry
|
||||||
proxyurl: http://localhost:10048
|
proxyurl: http://localhost:10048
|
||||||
|
|
||||||
|
- role: httpd/reverseproxy
|
||||||
|
website: candidate-registry.fedoraproject.org
|
||||||
|
destname: candidate-registry
|
||||||
|
proxyurl: http://localhost:10048
|
||||||
|
when: env == "staging"
|
||||||
|
|
||||||
- role: httpd/reverseproxy
|
- role: httpd/reverseproxy
|
||||||
website: retrace.fedoraproject.org
|
website: retrace.fedoraproject.org
|
||||||
destname: retrace
|
destname: retrace
|
||||||
|
|
|
@ -498,6 +498,13 @@
|
||||||
sslonly: true
|
sslonly: true
|
||||||
cert_name: "{{wildcard_cert_name}}"
|
cert_name: "{{wildcard_cert_name}}"
|
||||||
|
|
||||||
|
- role: httpd/website
|
||||||
|
name: candidate-registry.fedoraproject.org
|
||||||
|
server_aliases: [candidate-registry.stg.fedoraproject.org]
|
||||||
|
sslonly: true
|
||||||
|
cert_name: "{{wildcard_cert_name}}"
|
||||||
|
when: env == "staging"
|
||||||
|
|
||||||
- role: httpd/website
|
- role: httpd/website
|
||||||
name: retrace.fedoraproject.org
|
name: retrace.fedoraproject.org
|
||||||
server_aliases: [retrace.stg.fedoraproject.org]
|
server_aliases: [retrace.stg.fedoraproject.org]
|
||||||
|
|
|
@ -335,6 +335,13 @@ listen ipa 0.0.0.0:10053
|
||||||
server ipa01 ipa01:443 check inter 10s rise 1 fall 2 ssl verify required ca-file /etc/haproxy/ipa.pem
|
server ipa01 ipa01:443 check inter 10s rise 1 fall 2 ssl verify required ca-file /etc/haproxy/ipa.pem
|
||||||
option httpchk GET /
|
option httpchk GET /
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
{% if env == "staging" %}
|
||||||
|
|
||||||
|
listen docker-candidate-registry 0.0.0.0:10054
|
||||||
|
balance hdr(appserver)
|
||||||
|
server docker-candidate-registry01 docker-candidate-registry01:5000 check inter 10s rise 1 fall 2
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Apache doesn't handle the initial connection here like the other proxy
|
# Apache doesn't handle the initial connection here like the other proxy
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue