Serving Gzipped Files from Mongodb Realm Hosting

Hello! I am trying to serve gzipped files from Mongodb Realm Hosting. I am wondering if anyone has tried doing this before? I also would be interested in serving brotli compressed files as well.

I can’t select the index.html.gz file as the SPA file in Hosting Settings.

Has anyone tried to do this? Let me know. Thanks!

Bumping this! If anyone has any ideas or any input from the Realm product/engineering team that would be awesome.

Gonna try this and report back: https://www.mongodb.com/docs/atlas/app-services/hosting/file-metadata-attributes/