Created
December 6, 2011 13:57
-
-
Save dennisreimann/1438289 to your computer and use it in GitHub Desktop.
Manual Nginx installation via Passenger
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# download and untar nginx | |
wget -O /tmp/nginx.tar.gz http://www.nginx.org/download/nginx-1.0.11.tar.gz | |
tar xzvf /tmp/nginx.tar.gz | |
rm /tmp/nginx.tar.gz | |
# download and untar extra modules | |
wget -O /tmp/nginx-echo-module.tar.gz https://github.com/agentzh/echo-nginx-module/tarball/v0.38rc1 | |
tar xzvf /tmp/nginx-echo-module.tar.gz | |
rm /tmp/nginx-echo-module.tar.gz | |
# install nginx via passenger install script, already includes | |
# --with-http_ssl_module | |
# --add-module for passenger | |
passenger-install-nginx-module --auto --prefix='/opt/nginx' --nginx-source-dir='/tmp/nginx-1.0.11' --extra-configure-flags="--with-http_gzip_static_module --add-module='/tmp/agentzh-echo-nginx-module-6c1f553'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment