Nginx 502 Bad Gateway with Next.js and Auth0 after login

I was pulling my hair out for an hour until I found this. Thanks!
Any reason behind the 4kb default? Why not make it bigger?