added proxy-http-version annotation to override the HTTP/1.1 default connection type to reverse proxy backends
This commit is contained in:
parent
1387f7b7eb
commit
3b0c523e49
8 changed files with 54 additions and 3 deletions
|
|
@ -150,4 +150,8 @@ type Backend struct {
|
|||
// Enables or disables buffering of responses from the proxied server.
|
||||
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering
|
||||
ProxyBuffering string `json:"proxy-buffering"`
|
||||
|
||||
// Modifies the HTTP version the proxy uses to interact with the backend.
|
||||
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_http_version
|
||||
ProxyHTTPVersion string `json:"proxy-http-version"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue