Commit 724829b6 authored by Lucas Fontes's avatar Lucas Fontes Committed by Matt Holt

proxy: leftover from #1666 (#1669)

parent 73494ce6
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment