Add proxy config for stg only
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
6fddd1c6ef
commit
1c43c268bc
3 changed files with 21 additions and 0 deletions
|
@ -533,3 +533,9 @@
|
||||||
localpath: /fas3
|
localpath: /fas3
|
||||||
proxyurl: http://localhost:10052
|
proxyurl: http://localhost:10052
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
|
|
||||||
|
- role: httpd/reverseproxy
|
||||||
|
website: modernpaste.fedoraproject.org
|
||||||
|
destname: modernpaste
|
||||||
|
proxyurl: http://localhost:10055
|
||||||
|
when: env == "staging"
|
||||||
|
|
|
@ -457,6 +457,13 @@
|
||||||
- www.fpaste.org
|
- www.fpaste.org
|
||||||
cert_name: "{{wildcard_cert_name}}"
|
cert_name: "{{wildcard_cert_name}}"
|
||||||
|
|
||||||
|
- role: httpd/website
|
||||||
|
name: modernpaste.fedoraproject.org
|
||||||
|
server_aliases:
|
||||||
|
- modernpaste.stg.fedoraproject.org
|
||||||
|
cert_name: "{{wildcard_cert_name}}"
|
||||||
|
when: env == "staging"
|
||||||
|
|
||||||
- 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]
|
||||||
|
|
|
@ -341,6 +341,14 @@ listen docker-candidate-registry 0.0.0.0:10054
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
server docker-candidate-registry01 docker-candidate-registry01:5000 check inter 10s rise 1 fall 2
|
server docker-candidate-registry01 docker-candidate-registry01:5000 check inter 10s rise 1 fall 2
|
||||||
|
|
||||||
|
{% if env == "staging" %}
|
||||||
|
|
||||||
|
listen modernpaste 0.0.0.0:10055
|
||||||
|
balance hdr(appserver)
|
||||||
|
server modernpaste01 modernpaste01: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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue