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

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