diff --git a/loadbalancer.tf b/loadbalancer.tf index d6be46a..9dcbc87 100644 --- a/loadbalancer.tf +++ b/loadbalancer.tf @@ -34,6 +34,8 @@ resource "hcloud_load_balancer_service" "ingress_workers_tcp_80" { http { path = "/healthz" + + status_codes = ["2??", "3??"] } } } @@ -54,6 +56,8 @@ resource "hcloud_load_balancer_service" "ingress_workers_tcp_443" { http { path = "/healthz" + + status_codes = ["2??", "3??"] } } }