Can't deliver erros to sentry

Installed on a VPS following the instructions Install Sentry on Ubuntu 18.04 Using Nginx and Let's Encrypt Certificates - cleody.com

Looks like everything is installed and working correctly on the server. Can log in to admin and everything seems ok. No errors.

But when I try to send an error from Django (according to instructions from sentry with ZeroDivisionError) the error does not appear in Sentry.


upd.
Add to external nginx site config:

location /api/store/ {
proxy_pass http:// localhost:3000;
}
location ~ ^/api/[1-9]\d*/ {
proxy_pass http:// localhost:3000;
}

and got nginx error:

2021/03/06 13:00:52 [error] 44226#44226: *1972 connect() failed (111: Connection refused) while connecting to upstream, client: 182.229.226.192, server: sentry.xxx .net, request: “POST /api/2/store/ HTTP/1.1”, upstream: “http:// 127.0.0.1:3000/api/2/store/”, host: “sentry.xxx. net”
2021/03/06 13:00:52 [error] 44226#44226: *1972 connect() failed (111: Connection refused) while connecting to upstream, client: 182.229.226.192, server: sentry.xxx .net, request: “POST /api/2/envelope/ HTTP/1.1”, upstream: “http:// 127.0.0.1:3000/api/2/envelope/”, host: “sentry.xxx. net”

Can you please tell me where to look?
Thanks in advance for the advice.

Sentry 21.3.0.dev0
Ubuntu 20.04

If you are following that guide, you are probably using our official getsentry/onpremise repo which does the routing itself with its internal Nginx instance. You should not need those location directives in your external Nginx.