From Dev.to
Why does NextResponse.redirect send users to localhost behind nginx?
Originally published at runheed.com. Under next start, a route handler's request.url is built from the address Next itself listens on, not from the Host header your proxy forwards. It does take the sc...
