Apache has a graceful option which can scan for modification in http.conf without restarting apache,what about nginx?
| |||
|
feedback
|
|
nginx supports the following signals :
HUP is what you are looking for : so : $ sudo kill -HUP pid (nginx pid) | |||
|
feedback
|
|
Usually nginx's init-script has
| |||
|
feedback
|
|
I wrote about how to restart nginx with zero downtime a while ago. This may be helpful for you. http://tumblelog.jauderho.com/post/101514948/restart-nginx-with-zero-downtime | |||
|
feedback
|