This repository contains a version of nginx patched to include support for Phusion Passenger that can be built as a Debian package.
Make sure that Ruby is correctly set up (we recommend rvm for this task) and install the passenger
gem. Next, check out this repository and build its Debian packages using
fakeroot dpkg-buildpackage
In case, mandatory build dependencies are missing, install these using:
apt-get build-dep nginx
Install the resulting nginx-passenger
and nginx-common
.deb packages and you are done.
General documentation for nginx is available at http://nginx.org