Skip to content

Instantly share code, notes, and snippets.

@cosmosgenius
Created October 19, 2013 19:30
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 cosmosgenius/7060416 to your computer and use it in GitHub Desktop.
Save cosmosgenius/7060416 to your computer and use it in GitHub Desktop.
nginx compilation configurations
./configure --prefix=$HOME \
--sbin-path=$HOME/sbin/nginx \
--conf-path=$HOME/etc/nginx/nginx.conf \
--error-log-path=$HOME/var/logs/nginx/error.log \
--http-log-path=$HOME/var/logs/nginx/access.log \
--pid-path=$HOME/var/logs/nginx/nginx.pid \
--lock-path=$HOME/var/logs/nginx/nginx.lock \
--http-proxy-temp-path=$HOME/tmp/nginx/proxy/ \
--http-fastcgi-temp-path=$HOME/tmp/nginx/fastcgi/ \
--http-uwsgi-temp-path=$HOME/tmp/nginx/uwsgi/ \
--http-scgi-temp-path=$HOME/tmp/nginx/scgi/ \
--http-client-body-temp-path=$HOME/tmp/nginx/client/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment