proxies / reverseproxypass: try and only 421 ocp4 non iad2 proxies
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
42bc4ea41a
commit
80ef5e47df
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ ProxyPreserveHost On
|
||||||
|
|
||||||
{% if balancer_name is defined %}
|
{% if balancer_name is defined %}
|
||||||
# This is something that wants a apache balancer
|
# This is something that wants a apache balancer
|
||||||
{% if 'iad2' in inventory_hostname %}
|
{% if 'iad2' in inventory_hostname or not ocp4|bool %}
|
||||||
# This proxy is in iad2 and so we setup the balancer.
|
# This proxy is in iad2 and so we setup the balancer.
|
||||||
# Non iad2 proxies just send a 421 for this application to avoid firefox h2 reuse bug
|
# Non iad2 proxies just send a 421 for this application to avoid firefox h2 reuse bug
|
||||||
SSLProxyEngine On
|
SSLProxyEngine On
|
||||||
|
@ -73,7 +73,7 @@ BalancerMember "https://{{ member }}"
|
||||||
</Proxy>
|
</Proxy>
|
||||||
ProxyPass {{ localpath }} "balancer://{{balancer_name}}{{remotepath}}"
|
ProxyPass {{ localpath }} "balancer://{{balancer_name}}{{remotepath}}"
|
||||||
ProxyPassReverse {{ localpath }} "balancer://{{balancer_name}}{{remotepath}}"
|
ProxyPassReverse {{ localpath }} "balancer://{{balancer_name}}{{remotepath}}"
|
||||||
{% else %}
|
{% elif ocp4|bool %}
|
||||||
# This is a non iad2 proxy and an app that only exists in iad2
|
# This is a non iad2 proxy and an app that only exists in iad2
|
||||||
# We do this to avoid a h2 connection reuse bug by firefox.
|
# We do this to avoid a h2 connection reuse bug by firefox.
|
||||||
Redirect 421 /
|
Redirect 421 /
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue