added proxyprotocol options

This commit is contained in:
ston1th 2021-04-10 02:42:55 +02:00
commit 5de98614da
4 changed files with 23 additions and 19 deletions

View file

@ -21,9 +21,11 @@ type LoadBalancer struct {
}
type Options struct {
Frontend []string `json:"frontend,omitempty"`
Backend []string `json:"backend,omitempty"`
DefaultServer string `json:"defaultServer,omitempty`
Frontend []string `json:"frontend,omitempty"`
Backend []string `json:"backend,omitempty"`
ProxyProtocol string `json:"proxyProtocol,omitempty"`
CheckProxyProtocol bool `json:"checkProxyProtocol,omitempty"`
DefaultServer string `json:"defaultServer,omitempty`
}
type Port struct {