add kojipkgs to proxy01/10 and haproxy
This commit is contained in:
parent
6a580284ac
commit
1cb0972193
3 changed files with 19 additions and 0 deletions
|
@ -613,3 +613,9 @@
|
||||||
destname: armkoji
|
destname: armkoji
|
||||||
proxyurl: http://localhost:10060
|
proxyurl: http://localhost:10060
|
||||||
keephost: true
|
keephost: true
|
||||||
|
|
||||||
|
- role: httpd/reverseproxy
|
||||||
|
website: kojipkgs.fedoraproject.org
|
||||||
|
destname: kojipkgs
|
||||||
|
proxyurl: http://localhost:10062
|
||||||
|
keephost: true
|
||||||
|
|
|
@ -507,6 +507,11 @@
|
||||||
cert_name: secondary.koji.fedoraproject.org.letsencrypt
|
cert_name: secondary.koji.fedoraproject.org.letsencrypt
|
||||||
SSLCertificateChainFile: secondary.koji.fedoraproject.org.letsencrypt.intermediate.crt
|
SSLCertificateChainFile: secondary.koji.fedoraproject.org.letsencrypt.intermediate.crt
|
||||||
|
|
||||||
|
- role: httpd/website
|
||||||
|
name: kojipkgs.fedoraproject.org
|
||||||
|
sslonly: true
|
||||||
|
cert_name: "{{wildcard_cert_name}}"
|
||||||
|
|
||||||
- role: httpd/website
|
- role: httpd/website
|
||||||
name: apps.fedoraproject.org
|
name: apps.fedoraproject.org
|
||||||
server_aliases: [apps.stg.fedoraproject.org]
|
server_aliases: [apps.stg.fedoraproject.org]
|
||||||
|
|
|
@ -405,6 +405,14 @@ listen ipa01 0.0.0.0:10061
|
||||||
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 /ipa/ui/
|
option httpchk GET /ipa/ui/
|
||||||
|
|
||||||
|
{% if env == "production" and 'phx2' in inventory_hostname %}
|
||||||
|
listen kojipkgs 0.0.0.0:10062
|
||||||
|
balance hdr(appserver)
|
||||||
|
server kojipkgs01.phx2.fedoraproject.org kojipkgs01.phx2.fedoraproject.org:80 check inter 10s rise 1 fall 2
|
||||||
|
server kojipkgs02.phx2.fedoraproject.org kojipkgs02.phx2.fedoraproject.org:80 check inter 10s rise 1 fall 2
|
||||||
|
option httpchk GET /
|
||||||
|
{% 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
|
||||||
# entries. This proxy also doesn't use the http mode like the others.
|
# entries. This proxy also doesn't use the http mode like the others.
|
||||||
# stunnel should be sitting on port 9939 (public) and redirecting
|
# stunnel should be sitting on port 9939 (public) and redirecting
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue