force external_auth requests to http/1.1

This commit is contained in:
Gabi Davar 2017-12-02 17:05:13 +02:00 committed by GitHub
parent 99d3e9e9fc
commit 8325ca9934
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -659,6 +659,7 @@ stream {
proxy_set_header X-Auth-Request-Redirect $request_uri;
proxy_set_header X-Sent-From "nginx-ingress-controller";
proxy_http_version 1.1;
proxy_ssl_server_name on;
proxy_pass_request_headers on;
client_max_body_size "{{ $location.Proxy.BodySize }}";