install passenger with nginx already installed

Sergey A. Osokin osa at FreeBSD.org.ru
Wed Feb 2 10:52:49 MSK 2011


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 at FreeBSD.ORG.ru
osa at FreeBSD.ORG



More information about the nginx mailing list