Notifications
Clear all

Support for nginx?

1 Posts
2 Users
0 Likes
70 Views
0
Topic starter

I see we need to configure .htaccess for the plugin to work. However Nginx does not use .htaccess. I was wondering if there is support for Nginx as well say through configuring the nginx configuration files?

Pete Pete 23/01/2023 10:18 am

Hey @eysteinh

Yes, you need to allow the mime type the way Nginx servers manage the addition of mime-types.

See below

include /etc/nginx/mime.types;
types {
application/wasm wasm;
}
default_type application/octet-stream;

Here is a reference on Stackover flow about it with another file type.
https://stackoverflow.com/questions/21788833/nginx-mime-types-and-gzip