forked from SW/traefik
add http headers to healthcheck
This commit is contained in:
committed by
Traefiker Bot
parent
de3aeb9732
commit
1954a49f37
@@ -69,9 +69,11 @@ type WhiteList struct {
|
||||
|
||||
// HealthCheck holds HealthCheck configuration
|
||||
type HealthCheck struct {
|
||||
Path string `json:"path,omitempty"`
|
||||
Port int `json:"port,omitempty"`
|
||||
Interval string `json:"interval,omitempty"`
|
||||
Headers map[string]string `json:"headers,omitempty"`
|
||||
Hostname string `json:"hostname,omitempty"`
|
||||
Path string `json:"path,omitempty"`
|
||||
Port int `json:"port,omitempty"`
|
||||
Interval string `json:"interval,omitempty"`
|
||||
}
|
||||
|
||||
// Server holds server configuration.
|
||||
|
||||
Reference in New Issue
Block a user