aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucas Fontes <[email protected]>2017-05-14 14:27:19 -0400
committerMatt Holt <[email protected]>2017-05-14 12:27:19 -0600
commit724829b6890dc368407e24dfc982656ac32a8526 (patch)
treeb217b4b4d6dc5c5e3e33339c618f5119c65dca75
parent73494ce63a4ecfc6d27f889f83d5513b4d0e36be (diff)
downloadcaddy-724829b6890dc368407e24dfc982656ac32a8526.tar.gz
caddy-724829b6890dc368407e24dfc982656ac32a8526.zip
proxy: leftover from #1666 (#1669)
-rw-r--r--caddyhttp/proxy/upstream.go2
1 files changed, 1 insertions, 1 deletions
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) {