-
-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
socket error on nginx proxy #169
Comments
I found the problem, this problem wasted my time about 8 hours, plz update the doc : add
Pardon me about my idea about bug |
Hello @A1Gard, The configuration you provided appears to be mostly correct. However, there is a small issue with the line If you intend to hide a specific header, you should replace "Nothing" with the actual header you want to hide. For example, if you wanted to hide the "X-Powered-By" header, you would use:
If you don't need to hide any specific headers, you can simply remove the Other than that, the rest of the configuration looks fine. It sets up a reverse proxy to redirect requests received on the root location ( I'm going to close this issue, please, for help and support, join with us on official forum Thank you! |
Thanks bro @miroslavpejic85 https://forum.hestiacp.com/t/latest-update-broke-my-websockets/3600 |
when I use nginx to proxy my app I have socket error
websocket.js:43 WebSocket connection to 'wss://myappurl/socket.io/?EIO=4&transport=websocket' failed:
my nginx ssl config:
I have used upstream too for nginx:
but not helped me. We have problem on nginx config or app can't receive socket request.
I need to mention:
nodejs version
v18.16.1
port
2222
is open at allI don't have any problem with socket when I used this ip:2222 and can see log like this: (but on proxy neither)
I can't use ngrok at all
six moths ago I do it well, now not.
The text was updated successfully, but these errors were encountered: