mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-31 01:11:36 +08:00
Also return 421 from non-phx2 proxies for src.fp.o
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -42,5 +42,9 @@ ProxyPreserveHost On
|
||||
Require valid-user
|
||||
</Location>
|
||||
|
||||
{% if 'phx2' in inventory_hostname %}
|
||||
ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}}
|
||||
ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}
|
||||
{% else %}
|
||||
Redirect 421 /
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user