Answer the question
In order to leave comments, you need to log in
Restarting Nginx without dropping WebSocket connections, really?
There are the following inputs:
CloudFlare
Docker Swarm cluster
Nginx as a reverse proxy
Go-app with web sockets
There are several domains in the Nginx config , domains have to be added. After editing the configs , I restart the Nginx service , since I am rebuilding the image.
After restart ws-connections are torn .
Are there any ways to resolve the issue on the server side by reloading the Nginx config without breaking WebSocket connections? Don't suggest ways to implement this on the client
Answer the question
In order to leave comments, you need to log in
After editing the configs, I restart the Nginx service, as I rebuild the image.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question