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
|
|
@ -930,8 +930,8 @@ stream {
|
|||
proxy_buffer_size {{ $location.Proxy.BufferSize }};
|
||||
proxy_buffers {{ $location.Proxy.BuffersNumber }} {{ $location.Proxy.BufferSize }};
|
||||
proxy_request_buffering {{ $location.Proxy.RequestBuffering }};
|
||||
proxy_http_version {{ $location.Proxy.ProxyHTTPVersion }};
|
||||
|
||||
proxy_http_version 1.1;
|
||||
proxy_ssl_server_name on;
|
||||
proxy_pass_request_headers on;
|
||||
{{ if isValidByteSize $location.Proxy.BodySize true }}
|
||||
|
|
@ -1227,8 +1227,7 @@ stream {
|
|||
proxy_buffer_size {{ $location.Proxy.BufferSize }};
|
||||
proxy_buffers {{ $location.Proxy.BuffersNumber }} {{ $location.Proxy.BufferSize }};
|
||||
proxy_request_buffering {{ $location.Proxy.RequestBuffering }};
|
||||
|
||||
proxy_http_version 1.1;
|
||||
proxy_http_version {{ $location.Proxy.ProxyHTTPVersion }};
|
||||
|
||||
proxy_cookie_domain {{ $location.Proxy.CookieDomain }};
|
||||
proxy_cookie_path {{ $location.Proxy.CookiePath }};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue