Fix opentracing propagation on auth-url
Currently, the opentracing propagation instructions are set only if opentracing is configured globally. This fix set the propagation instructions if opentracing is disabled globally, but enabled per ingress
This commit is contained in:
parent
1389cc0e80
commit
fd8af11392
1 changed files with 1 additions and 1 deletions
|
@ -946,7 +946,7 @@ stream {
|
|||
location = {{ $authPath }} {
|
||||
internal;
|
||||
|
||||
{{ if $all.Cfg.EnableOpentracing }}
|
||||
{{ if (or $all.Cfg.EnableOpentracing $location.Opentracing.Enabled) }}
|
||||
opentracing on;
|
||||
opentracing_propagate_context;
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue