Allow the HTTP Connection header to contain more for websockets
Firefox is hell-bent on sending "keep-alive, Upgrade", which did not match ^Upgrade$.... Let's accept either. Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
0913fe8297
commit
ee0748715a
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ SSLProxyEngine On
|
|||
|
||||
RewriteEngine on
|
||||
RewriteCond %{HTTP:Upgrade} ^WebSocket$ [NC]
|
||||
RewriteCond %{HTTP:Connection} ^Upgrade$ [NC]
|
||||
RewriteCond %{HTTP:Connection} Upgrade [NC]
|
||||
RewriteRule .* "balancer://{{ balancer_name }}-websocket%{REQUEST_URI}" [P]
|
||||
|
||||
<Proxy "balancer://{{balancer_name}}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue