Skip to content

Instantly share code, notes, and snippets.

@RobertBrewitz
Created July 4, 2011 17:41
Show Gist options
  • Save RobertBrewitz/1063682 to your computer and use it in GitHub Desktop.
Save RobertBrewitz/1063682 to your computer and use it in GitHub Desktop.
Nginx build options
./configure --with-cpu-opt=amd64 \
--prefix=$PREFIX/nginx \
--user=www-data --group=www-data \
--http-log-path=/var/log/nginx/access.log \
--error-log-path=/var/log/nginx/error.log \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/lock/nginx.lock \
--http-client-body-temp-path=/var/tmp/nginx/body \
--http-proxy-temp-path=/var/tmp/nginx/proxy \
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi \
--with-http_gzip_static_module \
#--without-poll_module \
#--without-select_module \
#--without-http \
#--without-http_access_module \
--without-http_auth_basic_module \
--without-http_autoindex_module \
--without-http_browser_module \
--without-http_charset_module \
--without-http_empty_gif_module \
#--without-http_fastcgi_module \
--without-http_geo_module \
#--without-http_gzip_module \
--without-http_limit_req_module \
--without-http_limit_zone_module \
--without-http_map_module \
#--without-http_memcached_module \
#--without-http_proxy_module \
#--without-http_referer_module \
#--without-http_rewrite_module \
--without-http_scgi_module \
--without-http_split_clients_module \
--without-http_ssi_module \
#--without-http_upstream_ip_hash_module \
--without-http_userid_module \
--without-http_uwsgi_module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment