change src to proxy for pkgs

This commit is contained in:
Kevin Fenzi 2016-12-09 04:36:05 +00:00
parent 4d766c88ef
commit a4845e2318
3 changed files with 6 additions and 20 deletions

View file

@ -1,4 +1,4 @@
- name: Set up those ProxyPassReverse statements. Somebody get me a cup of coffee.. name: Set up those ProxyPassReverse statements. Somebody get me a cup of coffee..
hosts: proxies-stg:proxies hosts: proxies-stg:proxies
user: root user: root
gather_facts: True gather_facts: True
@ -507,7 +507,7 @@
- role: httpd/reverseproxy - role: httpd/reverseproxy
website: src.fedoraproject.org website: src.fedoraproject.org
destname: git destname: git
proxyurl: http://pkgs01.stg.phx2.fedoraproject.org proxyurl: http://localhost:10057
when: env == "staging" when: env == "staging"
- role: httpd/reverseproxy - role: httpd/reverseproxy
@ -564,9 +564,3 @@
destname: koji destname: koji
proxyurl: http://localhost:10056 proxyurl: http://localhost:10056
when: env == "staging" when: env == "staging"
- role: httpd/reverseproxy
website: pkgs.stg.fedoraproject.org
destname: pkgs
proxyurl: http://localhost:10057
when: env == "staging"

View file

@ -483,14 +483,6 @@
cert_name: "{{wildcard_cert_name}}" cert_name: "{{wildcard_cert_name}}"
when: env == "staging" 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"
- 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]

View file

@ -369,7 +369,7 @@ listen koji 0.0.0.0:10056
{% endif %} {% endif %}
{% if env == "staging" %} {% if env == "staging" %}
listen pkgs 0.0.0.0:10057 listen src 0.0.0.0:10057
balance hdr(appserver) balance hdr(appserver)
server pkgs01 pkgs01:80 check inter 10s rise 1 fall 2 server pkgs01 pkgs01:80 check inter 10s rise 1 fall 2
option httpchk GET / option httpchk GET /