DNS behind nginx proxy (tunnel)

There is possibility to use tunnel instead of sentry DNS in Angular app with self-hosted sentry. Can someone help me to configure nginx proxy to forward error reports?

I have tried:
location /sentry/ {
set $backend “”;
proxy_pass $backend;
with no success.


What result are you expecting to see and what exactly are you seeing instead? Any nginx logs you can share?

I need to sentry receive an error of course. Sentry config:

dsn: “http://0178dc7c19dd419186b74936ceb96889@server-alias:9000/3”,
tunnel: “https://domain.com/sentry”, – here is proxy
No error logs, only pending requests from browser to proxy