文档

Unity Engine

Unity Engine

服务器配置代码示例

Code samples to configure Nginx, Apache, and IIS servers with WebGL builds.
阅读时间1 分钟最后更新于 1 个月前

设置服务器配置文件以使服务器与 Unity Web 构建进行交互。
以下主题提供了可在服务器项目中使用的代码示例,这些示例可设置为与 Web 构建一起使用。
有关 Web 平台的服务器配置的更多信息,请参阅压缩构建和服务器配置。

主题

描述

为 Web 构建设置 Apache 服务器配置有关如何为 Web 构建设置 Apache 服务器的说明。
为 Web 构建设置 IIS 服务器配置了解如何为 Unity 设置 IIS 服务器。
为 Web 构建设置 Nginx 服务器配置有关如何为 Unity 设置 Nginx 服务器的信息。
为 Web 构建设置 Node.js 服务器配置有关如何设置 Node.js 服务器以便为 Web 构建服务的信息。

其他资源