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; }