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
This commit is contained in:
BinaryWizard904 2022-07-14 14:53:58 -05:00 committed by GitHub
parent d804ba48c9
commit 4372717dc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;