coreruleset / modsecurity-crs-docker

Official ModSecurity Docker + Core Rule Set (CRS) images
https://coreruleset.org
Apache License 2.0
237 stars 62 forks source link

fix(openresty): add healthz endpoint #231

Closed fzipi closed 2 months ago

fzipi commented 2 months ago

Add /healthz endpoint. Might fix #219.

theseion commented 2 months ago

Change look good. But starting openresty fails. 93-update-proxy-ssl-config.sh needs a fix on the last line (missing /conf/):

sed -i.bak -r 's#PROXY_SSL_CONFIG#'"${PROXY_SSL_CONFIG}"'#' /usr/local/openresty/nginx/conf/conf.d/default.conf