Passenger install (recompile nginx)

hi,

hoping i can have a single nginx with both the ee modules (i think it compiled some in?) and passenger modules. passenger does allow an advanced config. i do see the /tmp/easyengine dir but dont see the nginx source that it is asking for below.

thanks, sam

Automatically download and install Nginx?

Nginx doesn’t support loadable modules such as some other web servers do,
so in order to install Nginx with Passenger support, it must be recompiled.

Do you want this installer to download, compile and install Nginx for you?

  1. Yes: download, compile and install Nginx for me. (recommended)
    The easiest way to get started. A stock Nginx 1.6.1 with Passenger
    support, but with no other additional third party modules, will be
    installed for you to a directory of your choice.

  2. No: I want to customize my Nginx installation. (for advanced users)
    Choose this if you want to compile Nginx with more third party modules
    besides Passenger, or if you need to pass additional options to Nginx’s
    ‘configure’ script. This installer will 1) ask you for the location of
    the Nginx source code, 2) run the ‘configure’ script according to your
    instructions, and 3) run ‘make install’.

Whichever you choose, if you already have an existing Nginx configuration file,
then it will be preserved.

Hello @samhstein

For ubuntu we compile nginx at launchpad Refer this: How we compile nginx

For Debian we are used Dotdeb.org repository.

In order to compile passenger with nginx you have to copy all the module used by nginx-custom and add your custom module rules in nginx compilation.

Hello @samhstein

I hope your query is resolved. I am closing this support ticket for now.

Feel free to create a new support ticket if you have any queries further. :slight_smile: