Предлагаю добавить в mime.types строчку ```application/wasm wasm;``` https://webassembly.org/docs/web/#webassemblyinstantiatestreaming > This function accepts a Response object, or a promise for one, and compiles > and instantiates the resulting bytes of the response. This compilation can be > performed in the background and in a streaming manner. If the Response is not > CORS-same-origin, does not represent an ok status, or does not match the > `application/wasm` MIME type, the returned promise will be rejected with > a TypeError; <...> Без указания надлежащего Content-Type браузеры отказываются подключать wasm-модули. Таким образом, размещённый в веб-руте wasm-модуль, будучи доступным, не работает. То же сейчас некоторые браузеры делают с js, который отдают с неверным Content-Type.
Предлагаю (по ссылке) один из путей решения проблемы. :) https://git.altlinux.org/people/arseny/packages/nginx.git?p=nginx.git;a=shortlog;h=refs/heads/38603
nginx-1.22.1-alt2 -> sisyphus: Thu Nov 03 2022 Arseny Maslennikov <arseny@altlinux> 1.22.1-alt2 - NMU: Merge mime.types with upstream. (Closes: 38603)