主题
部署
¥Deploying
准备好部署 Next.js 应用后,你可以选择 托管基础设施提供商 或 self-host 版本。
¥Once you're ready to deploy your Next.js app, you can choose a managed infrastructure provider or self-host your application.
托管基础设施提供商
¥Managed infrastructure providers
托管平台是部署 Next.js 应用的实用选择,因为这些提供商会为你处理托管、扩展和服务器配置。
¥A managed platform is a practical option for deploying your Next.js app, as these providers take care of hosting, scaling, and server configuration for you.
Vercel 是 Next.js 的创建者和维护者,它允许你以全功能支持和零配置的方式部署你的应用。
¥Vercel, the creators and maintainers of Next.js, allows you to deploy your application with full-feature support and zero-configuration.
了解有关 Vercel 上的 Next.js 的更多信息。
¥Learn more about Next.js on Vercel.
在 Vercel 上试用 部署模板 的 Next.js。
¥Try Next.js on Vercel by deploying a template.
我们还提供社区维护的部署模板:
¥We also have community maintained deployment templates for:
有关支持的 Next.js 功能的信息,请参阅每个提供商的文档。
¥Please refer to each provider's documentation for information on supported Next.js features.
自托管
¥Self-Hosting
自托管可能意味着你需要自行配置服务器、管理容器和进行扩展。你可以通过三种不同的方式自行托管 Next.js:
¥Self-hosting may mean you're responsible for provisioning your own servers, managing containers, and scaling. You can self-host Next.js in three different ways:
我们提供社区维护的部署示例,其中包含以下自托管提供程序:
¥We have community maintained deployment examples with the following self-hosting providers:
🎥 观看:了解有关自托管 Next.js → YouTube(45 分钟) 的更多信息。
¥🎥 Watch: Learn more about self-hosting Next.js → YouTube (45 minutes).