How to correctly restart nginx?

Nuno Magalhães nunomagalhaes at eu.ipp.pt
Wed Feb 18 15:36:39 MSK 2009


AFAIK kill -HUP will not kill the process but rather make it read its
configuration file )which is what the OP wants anyway).

You could also try /etc/init.d/nginx restart
Works on Debian, might work on RH. Find the directory for your
distro's startup scripts, one of them oughta be nginx, pass "restart"
to it.

Nuno Magalhães
LU#484677





More information about the nginx mailing list