Skip to content

Instantly share code, notes, and snippets.

@ngsw
Created January 31, 2012 20:45
Show Gist options
  • Save ngsw/1712799 to your computer and use it in GitHub Desktop.
Save ngsw/1712799 to your computer and use it in GitHub Desktop.
#https://gist.github.com/1712762
./configure \
--prefix=/usr/local/nginx \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/var/log/nginx/error.log \
--pid-path=/var/run/nginx/nginx.pid \
--lock-path=/var/lock/subsys/nginx \
--user=nginx \
--group=nginx \
--with-http_stub_status_module \
--with-http_ssl_module \
--with-http_gzip_static_module \
--with-http_realip_module \
--http-log-path=/var/log/nginx/access.log \
--http-client-body-temp-path=/var/tmp/nginx/client/ \
--http-proxy-temp-path=/var/tmp/nginx/proxy/ \
--http-fastcgi-temp-path=/var/tmp/nginx/fcgi/ \
--with-cc-opt='-Wno-error' \
--add-module='/home/USER/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/passenger-3.0.11/ext/nginx' \
&& make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment