From 4372717dc34cd0ce8af6ee5b6b3f0d7d866cf346 Mon Sep 17 00:00:00 2001 From: BinaryWizard904 <62070150+BinaryWizard904@users.noreply.github.com> Date: Thu, 14 Jul 2022 14:53:58 -0500 Subject: [PATCH] web: add support for wav files to nginx default Nginx does not define a mime type for wav files by default. This causes Firefox to refuse to load these files. Bu adding this mime type, we can ensure that Firefox plays back all interface sounds by default. Issue is further described in: https://github.com/jitsi/jitsi-meet/issues/11860 --- web/rootfs/defaults/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/rootfs/defaults/nginx.conf b/web/rootfs/defaults/nginx.conf index 8260c2e..8626887 100644 --- a/web/rootfs/defaults/nginx.conf +++ b/web/rootfs/defaults/nginx.conf @@ -32,6 +32,8 @@ http { types { # add support for wasm MIME type, that is required by specification and it is not part of default mime.types file application/wasm wasm; + # add support for the wav MIME type that is requried to playback wav files in Firefox. + audio/wav wav; } default_type application/octet-stream;