Re:Security vulnerability found in Nginx
by eggnet on Thursday March 15, 2012 @12:51PM
(#3709278)
The above steps aren't optimal.
The makefile in the nginx source shows you how to do a hitless upgrade. This is what I do from the shell after correctly installing, essentially translated from the makefile.
The makefile in the nginx source shows you how to do a hitless upgrade. This is what I do from the shell after correctly installing, essentially translated from the makefile.
kill -USR2 `cat /var/run/nginx.pid` && sleep 1 && test -f /var/run/nginx.pid.oldbin && kill -QUIT `cat /var/run/nginx.pid.oldbin` && echo restart successful
Obviously, modify paths to the pid files as appropriate.