diff --git a/ansible/roles/caddy/templates/Caddyfile.j2 b/ansible/roles/caddy/templates/Caddyfile.j2 index 653955d..8fa3d17 100644 --- a/ansible/roles/caddy/templates/Caddyfile.j2 +++ b/ansible/roles/caddy/templates/Caddyfile.j2 @@ -1,5 +1,10 @@ {{ caddy.server_name }} { reverse_proxy {{ caddy.lb_targets | join(" ") }} { lb_policy cookie + health_uri / + health_port 80 + health_interval 5s + health_timeout 2s + health_status 2xx } }