502 Bad Gateway on port 80

Hello there,
I have been trying to setup Sentry on port 80 instead of 9000. Before making this change, Sentry was working fine on port 9000.
I have changed the following lines
/.env

SENTRY_BIND=80

/sentry/sentry.conf.py

SENTRY_WEB_PORT = 80

I have a 502 on port 80, instead of port 9000 but this does not go away after any amount of time.

Does anyone have any possible solutions?

You should leave this alone as the built-in nginx instance tries to connect to Sentry over port 9000 but now you are telling Sentry to bind to port 80 on its containers.

You only need the SENTRY_BIND=80 change, nothing else.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.