Ensured that opentracing on auth request is only enabled for people that have opentracing
This commit is contained in:
parent
08471b527b
commit
5c64c52a60
1 changed files with 2 additions and 0 deletions
|
@ -856,8 +856,10 @@ stream {
|
||||||
location = {{ $authPath }} {
|
location = {{ $authPath }} {
|
||||||
internal;
|
internal;
|
||||||
|
|
||||||
|
{{ if $all.Cfg.EnableOpentracing }}
|
||||||
opentracing on;
|
opentracing on;
|
||||||
opentracing_propagate_context;
|
opentracing_propagate_context;
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ if $externalAuth.AuthCacheKey }}
|
{{ if $externalAuth.AuthCacheKey }}
|
||||||
set $tmp_cache_key '{{ $server.Hostname }}{{ $authPath }}{{ $externalAuth.AuthCacheKey }}';
|
set $tmp_cache_key '{{ $server.Hostname }}{{ $authPath }}{{ $externalAuth.AuthCacheKey }}';
|
||||||
|
|
Loading…
Reference in a new issue