The socket.io route must be upgraded to allow websocket connection. Also, we must set the Origin header because peertube does not set it when it connects to the websocket. Without this, the ALLOWED_HOSTS is blocking the connection.
Proposal
Description...
[x] add an nginx directive to manage socket.io route
Purpose
The socket.io route must be upgraded to allow websocket connection. Also, we must set the Origin header because peertube does not set it when it connects to the websocket. Without this, the ALLOWED_HOSTS is blocking the connection.
Proposal
Description...