Glossary: Next.js Beyond the Basics
Host and X-Forwarded-Host headers
Also written: Host, X-Forwarded-Host
Request headers naming the site address. Server actions compare them with the browser's origin, so a reverse proxy must forward them.
Glossary: Next.js Beyond the Basics
Also written: Host, X-Forwarded-Host
Request headers naming the site address. Server actions compare them with the browser's origin, so a reverse proxy must forward them.