mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
parent
73494ce63a
commit
724829b689
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue