Configuring WASM Mime Type on Nginx Servers

If you’ve installed a high-performance Nginx server, the setup process to add WASM mime type will vary. To access and edit your Nginx configuration file, you can just log in to your server via command line.

Depending on your OS, this config file may be found elsewhere; nonetheless, many systems default locations are at ‘/etc/nginx/nginx.conf’.

Open it up with your favourite editor and copy+paste the code for adding wasm mime type!

include /etc/nginx/mime.types;

types {

application/wasm wasm;


default_type application/octet-stream;

Restart Nginx for these settings to take effect.


Powered by BetterDocs