ERR_TOO_MANY_REDIRECTS with http 301 redirects


I setup the sentry server with such infra: AWS API gateway -> internal ELB -> Nginx -> Sentry server.
AND I got the ERR_TOO_MANY_REDIRECTS when open on browser.
The error comes up with keep receiving http 301 error from sentry.

Does anybody know how to solve this issue?

There are some logs from sentry web server and HTTP request/response headers:

Something seems to be stripping the trailing / at the end of the URL as if you look closely, the request Sentry gets is for /auth/login and it redirects that to /auth/login/. So something before Sentry strips that last / :slight_smile: