Merge pull request #2428 from Eddman/auth_proxy_buffer

Add buffer configuration to external auth location config
This commit is contained in:
k8s-ci-robot 2018-04-26 11:54:26 -07:00 committed by GitHub
commit adffe744d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -802,6 +802,11 @@ stream {
proxy_set_header X-Auth-Request-Redirect $request_uri;
{{ end }}
proxy_buffering "{{ $location.Proxy.ProxyBuffering }}";
proxy_buffer_size "{{ $location.Proxy.BufferSize }}";
proxy_buffers 4 "{{ $location.Proxy.BufferSize }}";
proxy_request_buffering "{{ $location.Proxy.RequestBuffering }}";
proxy_http_version 1.1;
proxy_ssl_server_name on;
proxy_pass_request_headers on;