From 724829b6890dc368407e24dfc982656ac32a8526 Mon Sep 17 00:00:00 2001 From: Lucas Fontes Date: Sun, 14 May 2017 14:27:19 -0400 Subject: [PATCH] proxy: leftover from #1666 (#1669) --- caddyhttp/proxy/upstream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddyhttp/proxy/upstream.go b/caddyhttp/proxy/upstream.go index 6b99cd6c7..25a42d7ed 100644 --- a/caddyhttp/proxy/upstream.go +++ b/caddyhttp/proxy/upstream.go @@ -336,7 +336,7 @@ func parseBlock(c *caddyfile.Dispenser, u *staticUpstream) error { if n < 0 { return c.Errf("invalid health_check_port '%s'", port) } - u.HealthCheck.Port = c.Val() + u.HealthCheck.Port = port case "header_upstream": var header, value string if !c.Args(&header, &value) {