2020-04-09 02:11:32 +02:00
|
|
|
location /ws {
|
2020-12-22 01:11:05 +01:00
|
|
|
proxy_pass http://$freeswitch_addr:5066;
|
2020-04-09 02:11:32 +02:00
|
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_set_header Connection "Upgrade";
|
|
|
|
proxy_set_header X-Forwarded-Proto https;
|
|
|
|
proxy_set_header X-Forwarded-Ssl on;
|
|
|
|
proxy_read_timeout 6h;
|
|
|
|
proxy_send_timeout 6h;
|
|
|
|
client_body_timeout 6h;
|
|
|
|
send_timeout 6h;
|
2020-07-30 12:07:03 +02:00
|
|
|
|
|
|
|
auth_request /bigbluebutton/connection/checkAuthorization;
|
|
|
|
auth_request_set $auth_status $upstream_status;
|
2020-04-09 02:11:32 +02:00
|
|
|
}
|