Unity games can be built for multiple platforms, and WebGL builds are easy to distribue. In production builds, they are converted to various compression formats such as gzip and Brotli.
In this repo, you can see how to serve the gzip-compressed one using Nginx.
- Unity: 2020.3.14f1
- Nginx: 1.21.6
Detailed instructions are in the subdirectory README.md
- add examples of configuration files for other environments