Apache has an gracefuloption that you can scan for modification on http.confwithout restarting apache, what about nginx?

Nginx is compatible with the following signals:

TERM, INT - Quick shutdown
QUIT - Graceful shutdown
HUP - Configuration reload: Start the new worker processes with a new configuration, Gracefully shutdown the old worker processes
USR1 - Reopen the log files
USR2 - Upgrade Executable on the fly
WINCH - Gracefully shutdown the worker processes

Fuente: https://www.enmimaquinafunciona.com/pregunta/353/como-hacer-que-la-modificacion-surta-efecto-sin-reiniciar-nginx

Advertisements