From 125775a737d57632ca6083f2bdcc9f254f5f2916 Mon Sep 17 00:00:00 2001 From: Jakub Onderka Date: Wed, 22 Apr 2020 10:52:53 +0200 Subject: [PATCH] web: fix WASM MIME type --- web/rootfs/defaults/nginx.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/rootfs/defaults/nginx.conf b/web/rootfs/defaults/nginx.conf index 3c7a171..540a930 100644 --- a/web/rootfs/defaults/nginx.conf +++ b/web/rootfs/defaults/nginx.conf @@ -26,7 +26,11 @@ http { client_max_body_size 0; - include /etc/nginx/mime.types; + include /etc/nginx/mime.types; + 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; + } default_type application/octet-stream; ##