architecture is as follows:
nginx acts as a reverse proxy to proxy pass the http request to the backend golang http server
nginx==>httpserver
is it possible to restart gracefully in this way
1. Start a new golang http server to listen on other ports
2. Modify the nginx configuration file to change the previous proxy port to the port that the newly started server listens on
3.reload nginx
4. If there is no request processing in the old http server for a period of time, the kill is dropped
graceful restart as a whole? Is this feasible and is there a better plan?