move pkgs in stg behind the proxy as well
This commit is contained in:
parent
cf7ebb58d9
commit
4d766c88ef
3 changed files with 24 additions and 2 deletions
|
@ -564,3 +564,9 @@
|
|||
destname: koji
|
||||
proxyurl: http://localhost:10056
|
||||
when: env == "staging"
|
||||
|
||||
- role: httpd/reverseproxy
|
||||
website: pkgs.stg.fedoraproject.org
|
||||
destname: pkgs
|
||||
proxyurl: http://localhost:10057
|
||||
when: env == "staging"
|
||||
|
|
|
@ -479,7 +479,15 @@
|
|||
name: koji.stg.fedoraproject.org
|
||||
sslonly: true
|
||||
server_aliases:
|
||||
- koji.stg.stg.fedoraproject.org
|
||||
- koji.stg.fedoraproject.org
|
||||
cert_name: "{{wildcard_cert_name}}"
|
||||
when: env == "staging"
|
||||
|
||||
- role: httpd/website
|
||||
name: pkgs.stg.fedoraproject.org
|
||||
sslonly: true
|
||||
server_aliases:
|
||||
- pkgs.stg.fedoraproject.org
|
||||
cert_name: "{{wildcard_cert_name}}"
|
||||
when: env == "staging"
|
||||
|
||||
|
|
|
@ -361,11 +361,19 @@ listen modernpaste 0.0.0.0:10055
|
|||
{% endif %}
|
||||
{% if env == "staging" %}
|
||||
|
||||
listen modernpaste 0.0.0.0:10056
|
||||
listen koji 0.0.0.0:10056
|
||||
balance hdr(appserver)
|
||||
server koji01 koji01:80 check inter 10s rise 1 fall 2
|
||||
option httpchk GET /
|
||||
|
||||
{% endif %}
|
||||
{% if env == "staging" %}
|
||||
|
||||
listen pkgs 0.0.0.0:10057
|
||||
balance hdr(appserver)
|
||||
server pkgs01 pkgs01:80 check inter 10s rise 1 fall 2
|
||||
option httpchk GET /
|
||||
|
||||
{% endif %}
|
||||
|
||||
# Apache doesn't handle the initial connection here like the other proxy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue