Also return 421 from non-phx2 proxies for src.fp.o
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
40de21728b
commit
bc3bbcb5c0
1 changed files with 4 additions and 0 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue