|
|
|
@ -48,8 +48,8 @@ location ~ ^/(libs|css|static|images|fonts|lang|sounds|connection_optimization|. |
|
|
|
|
|
|
|
|
|
{{ if $ENABLE_COLIBRI_WEBSOCKET }} |
|
|
|
|
# colibri (JVB) websockets |
|
|
|
|
location ~ ^/colibri-ws/([a-zA-Z0-9-\.]+)/(.*) { |
|
|
|
|
proxy_pass http://{{ $WS_SERVER_ID }}:9090/colibri-ws/$1/$2$is_args$args; |
|
|
|
|
location ~ ^/colibri-ws/{{ $WS_SERVER_ID }}/(.*) { |
|
|
|
|
proxy_pass http://{{ $WS_SERVER_ID }}:9090/colibri-ws/{{ $WS_SERVER_ID }}/$1$is_args$args; |
|
|
|
|
proxy_http_version 1.1; |
|
|
|
|
proxy_set_header Upgrade $http_upgrade; |
|
|
|
|
proxy_set_header Connection "upgrade"; |
|
|
|
|