apply nginx patch to make ssl_certificate_by_lua_block work properly

This commit is contained in:
Elvin Efendi 2018-08-28 23:56:09 -04:00
parent 4019357f2e
commit 0408d66234
3 changed files with 46 additions and 1 deletions

View file

@ -421,6 +421,9 @@ Include /etc/nginx/owasp-modsecurity-crs/rules/RESPONSE-999-EXCLUSION-RULES-AFTE
# build nginx
cd "$BUILD_PATH/nginx-$NGINX_VERSION"
# apply Nginx patches
patch -p1 < /patches/openresty-ssl_cert_cb_yield.patch
WITH_FLAGS="--with-debug \
--with-compat \
--with-pcre-jit \