Skip to content

Instantly share code, notes, and snippets.

@finwe
Last active September 3, 2021 09:26
Show Gist options
  • Save finwe/fae53f0b18ac61fd9788 to your computer and use it in GitHub Desktop.
Save finwe/fae53f0b18ac61fd9788 to your computer and use it in GitHub Desktop.
nginx ./configure parameters
#!/bin/bash
./configure \
--with-http_ssl_module \
--with-http_v2_module \
--sbin-path=/usr/local/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--pid-path=/var/run/nginx.pid \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--user=www-data \
--group=www-data \
--with-pcre=../pcre2-10.37 \
--with-pcre-jit \
--with-zlib=../zlib-1.2.11 \
--with-openssl=../openssl-1.1.1l \
--add-module=../ngx-fancyindex \
--add-module=../ngx_brotli \
--with-http_stub_status_module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment