Skip to content

Instantly share code, notes, and snippets.

@zerolab
Last active September 4, 2015 02:45
Show Gist options
  • Save zerolab/251948 to your computer and use it in GitHub Desktop.
Save zerolab/251948 to your computer and use it in GitHub Desktop.
nginx config options.
./configure --prefix=/usr \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/lock/nginx.lock \
--user=www-data \
--group=www-data \
--with-http_realip_module \
--with-rtsig_module \
--with-http_gzip_static_module \
--with-http_stub_status_module \
--with-http_ssl_module \
--without-mail_pop3_module \
--without-mail_imap_module \
--without-mail_smtp_module \
--without-http_ssi_module \
--without-http_geo_module \
--http-client-body-temp-path=/var/cache/nginx/client_body_temp \
--http-proxy-temp-path=/var/cache/nginx/proxy_temp \
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment