mirror of
https://github.com/caddyserver/caddy.git
synced 2025-06-24 18:11:23 +08:00
Small changes; mostly comments
This commit is contained in:
@ -274,9 +274,9 @@ func parseBlock(c *caddyfile.Dispenser, u *staticUpstream) error {
|
||||
return err
|
||||
}
|
||||
u.HealthCheck.Timeout = dur
|
||||
case "header_upstream":
|
||||
case "proxy_header": // TODO: deprecate this shortly after 0.9
|
||||
fallthrough
|
||||
case "proxy_header":
|
||||
case "header_upstream":
|
||||
var header, value string
|
||||
if !c.Args(&header, &value) {
|
||||
return c.ArgErr()
|
||||
|
Reference in New Issue
Block a user