0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00

proxy: leftover from #1666 (#1669)

This commit is contained in:
Lucas Fontes 2017-05-14 14:27:19 -04:00 committed by Matt Holt
parent 73494ce63a
commit 724829b689

View file

@ -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) {