mirror of
https://github.com/umputun/reproxy.git
synced 2026-04-24 19:13:44 +02:00
c18f34362e
* add ForwardHealthChecks field to URLMapper and all providers Add a new per-route boolean option `forward-health-checks` to URLMapper, parsed by all providers (docker, file, consul-catalog, static). When enabled, reproxy will forward /ping and /health requests to the backend instead of handling them with built-in responses. Made-with: Cursor * forward /ping and /health to backend for routes with forward-health-checks Modify pingHandler and healthMiddleware to check if the matched route has ForwardHealthChecks enabled. If so, the request is forwarded to the backend instead of being intercepted by reproxy's built-in responses. Made-with: Cursor * fixed linter issues * fix inconsistent forward-health-checks value parsing across providers Docker now inspects the label value (true/yes/y/1) instead of just checking key presence. Static provider checks for explicit positive values instead of treating any non-empty string as truthy. Made-with: Cursor