Fix websockets for prod openshift
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
44f6ac6277
commit
12186da25f
2 changed files with 6 additions and 2 deletions
|
@ -19,7 +19,6 @@ ProxyPreserveHost On
|
|||
|
||||
{% if balancer_name is defined %}
|
||||
SSLProxyEngine On
|
||||
{% if env == "staging" %}
|
||||
|
||||
<Proxy "balancer://{{balancer_name}}-websocket">
|
||||
{% for member in balancer_members %}
|
||||
|
@ -32,7 +31,6 @@ RewriteCond %{HTTP:Upgrade} ^WebSocket$ [NC]
|
|||
RewriteCond %{HTTP:Connection} ^Upgrade$ [NC]
|
||||
RewriteRule .* "balancer://{{ balancer_name }}-websocket%{REQUEST_URI}" [P]
|
||||
|
||||
{% endif %}
|
||||
<Proxy "balancer://{{balancer_name}}">
|
||||
{% for member in balancer_members %}
|
||||
BalancerMember "https://{{ member }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue