- Configuration for serving static content of a Next.js static export.
- Configuration of a reverse proxy for a Next.js server application (SSR/SSG/ISR).
You can follow the guide I wrote on deploying Next.js applications to a VPS using NGINX and PM2: article