Serving .unityweb files with brotli compression

cdn

#1

Hello Cloudflare community,

I’m looking for a way to tell cloudflare to use brotli compression on files that end in .unityweb. Is that even possible? This is so that brotli compression is applied to the html5/javascript output from Unity (version 2019.1b5)

In apache you could add an .htaccess file like this:

AddEncoding br .unityweb

Is there an equivalent in Cloudflare or some workaround where I set the content-type on the file potentially?

Thanks in advance for any help.