Skip to content

Instantly share code, notes, and snippets.

@jsarenik
Created October 27, 2016 11:58
Show Gist options
  • Save jsarenik/8bf7f9e898ae1d591337db421f8b82c3 to your computer and use it in GitHub Desktop.
Save jsarenik/8bf7f9e898ae1d591337db421f8b82c3 to your computer and use it in GitHub Desktop.
Configure NGINX with Musl libc
export PATH=/usr/local/musl/bin:$PATH
sed -i bck 's/configure --disable-shared $PCRE_CONF_OPT/configure --disable-shared --disable-cpp $PCRE_CONF_OPT/' auto/lib/pcre/make
./configure --with-cc="musl-gcc" --with-ld-opt="-static" --with-pcre=$HOME/pcre-8.39 --with-http_v2_module --with-openssl=$HOME/openssl-1.0.2j --without-http_scgi_module --without-http_uwsgi_module --without-http_fastcgi_module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment