LINUX.ORG.RU

История изменений

Исправление Sahas, (текущая версия) :

Проблема: не получается редиректить websocket. Firefox пишет:

Fri Mar 20 2020 12:12:09 GMT+0300 (GMT+03:00) | sip.ua | · wsServers: [{"ws_uri":"wss://aero.spbstu.ru/ws","sip_uri":"<sip:aero.spbstu.ru;transport=ws;lr>","weight":0,"status":0,"scheme":"WSS"}]
...
Fri Mar 20 2020 12:12:09 GMT+0300 (GMT+03:00) | sip.transport | connecting to WebSocket wss://aero.spbstu.ru/ws
Firefox can’t establish a connection to the server at wss://aero.spbstu.ru/ws.

в конфиге /etc/bigbluebutton/nginx/sip.nginx

location /ws {
        proxy_pass https://192.168.1.233:7443/;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_read_timeout 6h;
        proxy_send_timeout 6h;
        client_body_timeout 6h;
        send_timeout 6h;
}

Исходная версия Sahas, :

Проблема: не получается редиректить websocket. Firefox пишет:

Fri Mar 20 2020 12:12:09 GMT+0300 (GMT+03:00) | sip.ua | · wsServers: [{"ws_uri":"wss://aero.spbstu.ru/ws","sip_uri":"<sip:aero.spbstu.ru;transport=ws;lr>","weight":0,"status":0,"scheme":"WSS"}]
...
Fri Mar 20 2020 12:12:09 GMT+0300 (GMT+03:00) | sip.transport | connecting to WebSocket wss://aero.spbstu.ru/ws
Firefox can’t establish a connection to the server at wss://aero.spbstu.ru/ws.