Merge pull request #5139 from Stono/master

Fixes https://github.com/kubernetes/ingress-nginx/issues/5120
This commit is contained in:
Kubernetes Prow Robot 2020-02-20 07:23:02 -08:00 committed by GitHub
commit a922d7d6d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -856,6 +856,11 @@ stream {
location = {{ $authPath }} {
internal;
{{ if $all.Cfg.EnableOpentracing }}
opentracing on;
opentracing_propagate_context;
{{ end }}
{{ if $externalAuth.AuthCacheKey }}
set $tmp_cache_key '{{ $server.Hostname }}{{ $authPath }}{{ $externalAuth.AuthCacheKey }}';
set $cache_key '';