Skip to content

Instantly share code, notes, and snippets.

@tjunussov
Created April 22, 2016 16:42
Show Gist options
  • Save tjunussov/28077f5c77c4d1227e6b5fee1e5f74c5 to your computer and use it in GitHub Desktop.
Save tjunussov/28077f5c77c4d1227e6b5fee1e5f74c5 to your computer and use it in GitHub Desktop.
Compile Custom Nginx
./configure \
--user=nginx \
--group=nginx \
--prefix=/etc/nginx \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/run/nginx.lock \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--with-http_gzip_static_module \
--with-http_stub_status_module \
--with-http_ssl_module \
--with-pcre \
--with-file-aio \
--with-http_xslt_module \
--with-http_dav_module \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment