|
|
|
@ -1,3 +1,4 @@ |
|
|
|
|
{{ $ENABLE_COLIBRI_WEBSOCKET := .Env.ENABLE_COLIBRI_WEBSOCKET | default "1" | toBool }} |
|
|
|
|
{{ $ENABLE_XMPP_WEBSOCKET := .Env.ENABLE_XMPP_WEBSOCKET | default "1" | toBool }} |
|
|
|
|
|
|
|
|
|
server_name _; |
|
|
|
@ -36,6 +37,7 @@ location ~ ^/(libs|css|static|images|fonts|lang|sounds|connection_optimization|. |
|
|
|
|
alias /usr/share/jitsi-meet/$1/$2; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
{{ if $ENABLE_COLIBRI_WEBSOCKET }} |
|
|
|
|
# colibri (JVB) websockets |
|
|
|
|
location ~ ^/colibri-ws/([a-zA-Z0-9-\.]+)/(.*) { |
|
|
|
|
proxy_pass http://$1:9090/colibri-ws/$1/$2$is_args$args; |
|
|
|
@ -44,6 +46,7 @@ location ~ ^/colibri-ws/([a-zA-Z0-9-\.]+)/(.*) { |
|
|
|
|
proxy_set_header Connection "upgrade"; |
|
|
|
|
tcp_nodelay on; |
|
|
|
|
} |
|
|
|
|
{{ end }} |
|
|
|
|
|
|
|
|
|
# BOSH |
|
|
|
|
location = /http-bind { |
|
|
|
|