Skip to content

Instantly share code, notes, and snippets.

@abackstrom
Created January 31, 2012 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abackstrom/1711518 to your computer and use it in GitHub Desktop.
Save abackstrom/1711518 to your computer and use it in GitHub Desktop.
choo configuration
./configure \
--prefix=/usr/local/server/nginx \
--conf-path=/usr/local/etc/nginx.conf \
--error-log-path=/var/log/nginx/error.log \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/lock/nginx.lock \
--http-log-path=/var/log/nginx/access.log \
--http-client-body-temp-path=/var/lib/nginx/body \
--http-proxy-temp-path=/var/lib/nginx/proxy \
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
--with-http_stub_status_module \
--with-http_ssl_module \
--with-http_dav_module \
--with-http_gzip_static_module \
--http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
--http-scgi-temp-path=/var/lib/nginx/scgi \
"$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment