diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.nagios.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.nagios.conf new file mode 100644 index 0000000000..b15a70c4b3 --- /dev/null +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.nagios.conf @@ -0,0 +1,6 @@ +{% if 'phx2' in inventory_hostname %} +ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}} +ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}} +{% else %} +Redirect 421 / +{% endif %}