Why does NextResponse.redirect send users to localhost behind nginx? - DEV Community
Under next start, request.url carries the server's own host and port, not the Host header, so redirects built from it go to localhost. Three tested fixes.
Ähnliche Seiten
Why Your Full-Stack App Breaks in Production (and How Nginx Fixes It) - DEV Community