Make non-phx2 proxies handle nagios with 421 Misdirected Request
This commit is contained in:
parent
a39cfe8484
commit
682935e658
1 changed files with 6 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
|||
{% 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