i deployed Sentry 9.1.2 in my kubernetes cluster, and everything works fine when i run it over nginx ingress on the root url (’/’) and its always redirected to /auth/login/sentry path, so i thought if i can change this default url to something like /sentry/auth/login.
I added some configurations to sentry.conf.py :
FORCE_SCRIPT_NAME = ‘/sentry’
STATIC_URL = ‘/sentry/_static/’
SENTRY_URL_PREFIX = ‘http://my-hostname.com/sentry’
LOGIN_URL = ‘/sentry/login’
LOGIN_REDIRECT_URL = ‘/sentry/’