Forum: NGINX nginx reload vs restart

Posted by MarkA (Guest)
on 2012-11-11 20:15
(Received via mailing list)
Hello all I am new to nginx and wanted to confirm if my understanding is
correct. To retart nginx like any other service would cause downtime. If 
I
change nginx configurations I can do a reload to cause the new
configurations to take effect without any downtime to my site is that
correct?

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,232706,232706#msg-232706
Posted by David J (Guest)
on 2012-11-11 20:26
(Received via mailing list)
You can send a kill with a HUP to reload the configs  its documented on 
the
nginx wiki
Posted by Maxim Dounin (Guest)
on 2012-11-11 20:47
(Received via mailing list)
Hello!

On Sun, Nov 11, 2012 at 02:14:21PM -0500, MarkA wrote:

> Hello all I am new to nginx and wanted to confirm if my understanding is
> correct. To retart nginx like any other service would cause downtime. If I
> change nginx configurations I can do a reload to cause the new
> configurations to take effect without any downtime to my site is that
> correct?

Yes.  More details about controlling running nginx may be found
here:

http://nginx.org/en/docs/control.html

This, in addition to configuration reload, includes nginx
executable upgrade without downtime.

--
Maxim Dounin
http://nginx.com/support.html
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.