persistance of healthcheck parameters is broken
LKarrie opened this issue · comments
persistance of healthcheck parameters is broken in nginx 1.24.0. healthcheck parameters was not updated after the healtcheck parameters file changed.
maybe something wrong when call ngx_regex_compile
error.log
2024/01/23 10:54:45 [crit] 107080#0: healthcheck: regex "type:([^
]+)
fall:(\d+)
rise:(\d+)
timeout:(\d+)
interval:(\d+)
keepalive:(\d+)
request_body:"([^"]*)"
response_body:"([^"]*)"
off:(\d+)
disabled:(\d+)
disabled_hosts:([^
]*)
disabled_hosts_manual:([^
]*)
port:(\d+)
passive:(\d+)
request_uri:([^
]*)
request_method:([^
]*)
request_headers:([^
]*)
response_codes:([^
]*)
" compilation failed: invalid options
I tried nginx version 1.20.2 and it works fine without PCRE2 :)