Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Server configuration code samples

Code samples to configure Nginx, Apache, and IIS servers with WebGL builds.
Read time 1 minuteLast updated 13 days ago

Set up your server configuration file to make your server interact with your Unity Web build.
The following topics give you code samples that you can use in your server projects that set them up for use with your Web build.
For further information on server configuration for the Web platform, refer to Compressed builds and server configuration.

Topic

Description

Set up your Apache server configuration for Web buildsInstructions on how to set up your Apache server for your Web build.
Set up your IIS server configuration for Web buildsFind out how to set up your IIS server for Unity.
Set up your Nginx server configuration for Web buildsInformation on how to set up your Nginx server for Unity.
Set up your Node.js server configuration for Web buildsInformation about how to set up your Node.js server to serve your Web build.

Additional resources