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
dd2b92e817
commit
74d1a324e7
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