22 Jan 2024 03:31 PM
Hello everyone. We're using nginx
- as a reverse proxy that terminates TLS connections from browsers and
- to forward requests to upstream servers also via TLS
Our front end is served by caddy2 what is not compatible with the auto injection feature.
I'm wondering if auto injection should also work in nginx when only used as a proxy.
Any experiences with that?
Thanks. Johannes
Solved! Go to Solution.
22 Jan 2024 03:54 PM
Hi @Johannes123123,
Auto injection works for nginx, but your traces will be ended on the nginx server. 😞
Best regards,
Mizső
23 Jan 2024 09:38 AM
Using Nginx and Opentelemetry with Caddy should do the trick.
Even if Nginx is only acting as a proxy, it can work with the auto-injection feature, s
Looks like Caddy supports opentelemetry and this can give you additional information about the traces.
https://caddyserver.com/docs/caddyfile/directives/tracing
https://docs.dynatrace.com/docs/extend-dynatrace/opentelemetry/overview/traces