Add proxy-pass-params annotation and Backend field

This commit is contained in:
Antoine Cotten 2017-08-31 15:09:23 +02:00
parent abc53ccfc5
commit c0fecd5bd7
No known key found for this signature in database
GPG key ID: EA06C9A94E2B3EA0
4 changed files with 26 additions and 1 deletions

View file

@ -53,6 +53,9 @@ type Backend struct {
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream
ProxyNextUpstream string `json:"proxy-next-upstream"`
// Parameters for proxy-pass directive (eg. Apache web server).
ProxyPassParams string `json:"proxy-pass-params"`
// Name server/s used to resolve names of upstream servers into IP addresses.
// The file /etc/resolv.conf is used as DNS resolution configuration.
Resolver []net.IP