# Auth0 Blazor wrong redirect\_url behind NGINX reverse proxy

**URL:** <https://community.auth0.com/t/auth0-blazor-wrong-redirect-url-behind-nginx-reverse-proxy/139061>\
**Category:** Get Help\
**Tags:** classic-universal-login-experience, login-experience\
**Created:** [July 16, 2024, 4:39pm UTC](https://community.auth0.com/t/auth0-blazor-wrong-redirect-url-behind-nginx-reverse-proxy/139061 "2024-07-16T16:39:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![gwilson](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@gwilson](https://community.auth0.com/u/gwilson)\
**Post date:** [August 15, 2024, 5:10pm UTC](https://community.auth0.com/t/auth0-blazor-wrong-redirect-url-behind-nginx-reverse-proxy/139061/3 "2024-08-15T17:10:13Z")

</div>

Two comments for anyone with the same issue:

1. The first issue that needed to be fixed was to set up header forwarding as described in the FAQ link mentioned above.
2. After that was resolved, I discovered that NGINX requires one additional tweak to work with Auth0: You must increase the proxy buffer sizes from default because of the large amount of header info that Auth0 uses. Details here: [Got “502 Bad Gateway” on login callback when using NGINX reverse proxy - Auth0 Community](https://community.auth0.com/t/got-502-bad-gateway-on-login-callback-when-using-nginx-reverse-proxy/116896/2))

---

_[View the full topic](https://community.auth0.com/t/auth0-blazor-wrong-redirect-url-behind-nginx-reverse-proxy/139061)._
