This is a Next.js template to use when reporting a bug in the Next.js repository with the app/
directory.
- Git clone [email protected]:yuvalotem1/x-forwarded-port-header--undefined-.git
- yarn
- yarn dev
- open http://localhost:3000
Execute create-next-app
with npm, Yarn, or pnpm to bootstrap the example:
- Deploy to vercel - https://vercel.com/docs/deployments/overview
- Go to the deployed app
- Click on "click to see x-forwarded-port header" button
- check logs on vercel to see the x-forwarded-port header value in the middleware