2011年2月1日星期二

Re: install passenger with nginx already installed

On Wed, Feb 02, 2011 at 08:25:52AM +0100, Paul Bergstrom wrote:
> How do I install passenger if I already have nginx installed and
> running?

1. Compile nginx with functionality.

2. Backup current configuration.

3. Install new nginx into the same place as previous version, i.e.
overwrite old nginx binary.

4. Send USR2 signal to master nginx process [keep the PID].

5. Send WINCH signal to PID from 4.

6. If it works fine, then send QUIT to PID from 4.

--
Sergey A. Osokin
osa@FreeBSD.ORG.ru
osa@FreeBSD.ORG

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx

没有评论:

发表评论