Nginx setting to allow wss sockets to connect
-
Having run across this at a previous robotics project doing Tele-existence, things weren't connecting well.
General idea of the config:
https + proxy pass + virtual host
Nginx as a proxy causes a failure of wss:// connections to the backend server.
Add these parameters to the proxy section :
proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection “upgrade”; proxy_set_header Host $host;Voila
-
This looks like a similar issue with wss as in https://forum.cloudron.io/topic/3414/transcode-after-import-fails/23?_=1606977647141?
-
This looks like a similar issue with wss as in https://forum.cloudron.io/topic/3414/transcode-after-import-fails/23?_=1606977647141?
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login