Skip to content

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.

Where the book teaches it

Related terms

Reverse proxyServer action