# Install passenger with nginx already installed

**URL:** <https://www.ruby-forum.com/t/install-passenger-with-nginx-already-installed/202599>\
**Category:** NGINX\
**Created:** [February 2, 2011, 8:25am UTC](https://www.ruby-forum.com/t/install-passenger-with-nginx-already-installed/202599 "2011-02-02T08:25:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [February 2, 2011, 8:25am UTC](https://www.ruby-forum.com/t/install-passenger-with-nginx-already-installed/202599/1 "2011-02-02T08:25:52Z")

</div>

How do I install passenger if I already have nginx installed and  
running?

---

<div class="post-metadata">

**Author:** ![paulbutcher](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a5b964/32.png) [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Post date:** [February 2, 2011, 8:54am UTC](https://www.ruby-forum.com/t/install-passenger-with-nginx-already-installed/202599/2 "2011-02-02T08:54:13Z")

</div>

On Wed, Feb 02, 2011 at 08:25:52AM +0100, Paul B. 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  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
