mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-13 22:51:08 -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 {
|
if n < 0 {
|
||||||
return c.Errf("invalid health_check_port '%s'", port)
|
return c.Errf("invalid health_check_port '%s'", port)
|
||||||
}
|
}
|
||||||
u.HealthCheck.Port = c.Val()
|
u.HealthCheck.Port = port
|
||||||
case "header_upstream":
|
case "header_upstream":
|
||||||
var header, value string
|
var header, value string
|
||||||
if !c.Args(&header, &value) {
|
if !c.Args(&header, &value) {
|
||||||
|
|
Loading…
Reference in a new issue