You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide source code and commit sha if you found a bug.
Review existing issues and provide feedback or react to them.
Description
For Example, I edit nginx config file ,and exec ‘nginx -s reload’.
I can graceful restart the nginx.
Any way to graceful restart the gin http and https servers like nginx for production?
The text was updated successfully, but these errors were encountered:
snowdream
changed the title
Any way to graceful restart the gin http and https server like nginx for production?
Any way to graceful restart the gin http and https servers like nginx for production?
May 21, 2023
I have made a PR gin-contrib/graceful#2 that add support for Gin. You should be able to do what you want by monitoring the file you want on your system, then use Stop(), modify your service setup as you want and then call Start() on it again.
I haven't received any feedback on my PR yet, so would appreciate anyone looking at it.
Description
For Example, I edit nginx config file ,and exec ‘nginx -s reload’.
I can graceful restart the nginx.
Any way to graceful restart the gin http and https servers like nginx for production?
How to reproduce
Expectations
Actual result
Environment
The text was updated successfully, but these errors were encountered: