From 42e9dfd6bb2b6e8a5576a1ac18893a4d08dc57ec Mon Sep 17 00:00:00 2001 From: aliasgar Date: Mon, 6 May 2024 10:48:32 +0530 Subject: [PATCH] added health_follow_redirect in active health checks --- cmd/caddy/Caddfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cmd/caddy/Caddfile diff --git a/cmd/caddy/Caddfile b/cmd/caddy/Caddfile new file mode 100644 index 000000000000..8ed672120a9e --- /dev/null +++ b/cmd/caddy/Caddfile @@ -0,0 +1,10 @@ +{ + debug +} + +localhost:3000 { + respond "hello world" + reverse_proxy localhost:8003 { + health_uri http://localhost:8003/health + } +}