2
0
Jakub Onderka 5 жил өмнө
parent
commit
125775a737

+ 5 - 1
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;
 
 	##