Nginx + Passenger Nginx + Passenger nginx nginx

Nginx + Passenger


Run 'nginx -V', that will tell you what configure arguments were used to compile your distribution's Nginx. Pass those same arguments to passenger-install-nginx-module.


when i'm install passenger installer ask me where put nginx (default /opt/nginx/). try reinstall passenger-install-nginx-module and read what installer write.


Since you already have Nginx there is no need to install anything but passenger stand-alone. You can just proxy all requests to this site's rails code to the passenger stand-alone instance using a vhost in your existing nginx installation. Here is a good place to start:

https://www.phusionpassenger.com/library/deploy/standalone/reverse_proxy.html