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

Thanks @rophilogene.