Commit Graph

5 Commits

Author SHA1 Message Date
Daniel Schreiber
dc15a1c707 fix: serve compressed Javascript and CSS
The BBB html5 client is huge and can be compressed easliy. As nginx
already services the static files, it can also handle service gzipped
files.

Ship compressed files with the package.
2022-01-31 20:44:43 +01:00
prlanzarin
e53dc4bb45 build: adjust bbb-html5.nginx to make sure nginx serves static assets
Somewhere along the line since 2.3 the packaged bbb-html5.nginx regressed to a
state where the upstream for /html5client was Meteor itself, which means nginx
wasn't serving static assets as it was supposed to.
2021-10-19 15:06:24 +00:00
prlanzarin
4f3ceb2459 build: serve precompressed tflite WASM binaries 2021-10-15 17:19:41 +00:00
prlanzarin
96254f7c89 build: add /wasm location block to bbb-html5.nginx
Guarantees that nginx will be the one serving the WASM binaries (static assets).

The types block is there to guarantee that the correct MIME type is advertised.

Moreoever, it's preferable that the WASM binaries are gzipped because they're
too large to ignore, so it's worth the server-side gzipping overhead.
The explicit gzip type declaration is there because only text/html assets are
compressed by default.
2021-10-14 03:58:55 +00:00
Johannes Barthel
6c8525ef54 initial public version 2021-08-13 12:53:18 +02:00