8hb29q
Last Updated: February 25, 2016
·
412
· thetuxracer

One liner to install nginx with Phusion Passenger

This one liner will compile nginx with passenger, gzip module, and ssl module.

passenger-install-nginx-module --auto --auto-download --prefix=/usr/local/nginx --extra-configure-flags="--with-http_gzip_static_module --with-http_ssl_module"

You can add more flags, in the extra-configure-flags.