bigbluebutton-Github/build/packages-template/bbb-html5/sip.nginx
prlanzarin 22d347f899 refactor: reduce timeout intervals for webrtc-sfu and FS WebSocket proxies
The old 6h values seem far too large and I cant recall nor find any good
justification for them to be that way

Reducing the timeouts to more sane values allow resources (WebSockets) to be
cleaned up faster

The heartbeat routine in bbb-webrtc-sfu runs every 20s. The heartbeat
routine in SIP.js/FS runs every 30(+10)s. The new timeouts are those values
multiplied by 3.
2022-03-02 19:07:29 -03:00

15 lines
424 B
Nginx Configuration File

location /ws {
proxy_pass http://127.0.0.1:5066;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_read_timeout 120s;
proxy_send_timeout 120s;
client_body_timeout 120s;
send_timeout 120s;
auth_request /bigbluebutton/connection/checkAuthorization;
auth_request_set $auth_status $upstream_status;
}