mirror of
https://github.com/wahyd4/ingress-nginx.git
synced 2026-08-09 05:16:27 +10:00
Ensured that opentracing on auth request is only enabled for people that have opentracing
This commit is contained in:
@@ -856,8 +856,10 @@ 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 }}';
|
||||
|
||||
Reference in New Issue
Block a user