Proxy configuration for ODCS in stg.
This commit is contained in:
parent
ea37542807
commit
f8d4b1e0f0
3 changed files with 22 additions and 0 deletions
|
@ -616,6 +616,14 @@
|
|||
tags:
|
||||
- app.os.fedoraproject.org
|
||||
|
||||
- role: httpd/reverseproxy
|
||||
website: odcs.fedoraproject.org
|
||||
destname: odcs
|
||||
proxyurl: http://localhost:10066
|
||||
tags:
|
||||
- odcs
|
||||
when: env == "staging"
|
||||
|
||||
- role: httpd/reverseproxy
|
||||
website: data-analysis.fedoraproject.org
|
||||
destname: awstats
|
||||
|
|
|
@ -781,6 +781,13 @@
|
|||
server_aliases: [mbs.stg.fedoraproject.org]
|
||||
cert_name: "{{wildcard_cert_name}}"
|
||||
|
||||
- role: httpd/website
|
||||
name: odcs.fedoraproject.org
|
||||
sslonly: true
|
||||
server_aliases: [odcs.stg.fedoraproject.org]
|
||||
cert_name: "{{wildcard_cert_name}}"
|
||||
when: env == "staging"
|
||||
|
||||
# fedorahosted is retired. We have the site here so we can redirect it.
|
||||
|
||||
- role: httpd/website
|
||||
|
|
|
@ -442,6 +442,13 @@ listen os-nodes 0.0.0.0:10065
|
|||
option httpchk GET /
|
||||
http-check expect status 503
|
||||
|
||||
{% if env == "staging" %}
|
||||
listen odcs 0.0.0.0:10066
|
||||
balance hdr(appserver)
|
||||
server odcs-frontend01 odcs-frontend01:80 check inter 20s rise 2 fall 3
|
||||
server odcs-frontend02 odcs-frontend02:80 check inter 20s rise 2 fall 3
|
||||
option httpchk GET /odcs/1/composes/
|
||||
{% endif %}
|
||||
# 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.
|
||||
# stunnel should be sitting on port 9939 (public) and redirecting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue