iad2: adjust more proxy things for iad2: kojipkgs, nagios and certbot for pkgs

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-05-27 21:13:55 -07:00
parent 7bbd1bd030
commit 7f6cdda0b2
4 changed files with 13 additions and 3 deletions

View file

@ -42,7 +42,7 @@ ProxyPreserveHost On
Require valid-user
</Location>
{% if 'phx2' in inventory_hostname %}
{% if 'phx2' in inventory_hostname or if 'iad2' in inventory_hostname %}
ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}}
ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}
{% else %}

View file

@ -31,7 +31,7 @@ ProxyPreserveHost On
{% endif %}
{% if 'phx2' in inventory_hostname %}
{% if 'phx2' in inventory_hostname or if 'iad2' in inventory_hostname %}
{% if balancer_name is defined %}
<Proxy "balancer://{{balancer_name}}">

View file

@ -1,4 +1,4 @@
{% if 'phx2' in inventory_hostname %}
{% if 'phx2' in inventory_hostname or if 'iad2' in inventory_hostname %}
ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}}
ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}
{% else %}