How to deploy an app to your VPS automatically with GitHub Actions: lint, a blocking Trivy scan, Docker build to a private registry, SSH deploy, and PR checks before merge.
Moving off a managed platform to host your Next.js app on a VPS: standalone Docker image, private registry, reverse proxy with automatic SSL and a homemade deploy pipeline.
A field report on four Next.js 16 traps in self-hosted deploys, the sneakiest being a build that goes green yet serves a page as a 404 in production.