Difference between nginx.conf in documentation and docker-compose example files regarding .wasm
The following lines were removed from the nginx.conf documentation in the # Serve static files section:
location ~ \.wasm$ {
default_type application/wasm;
}
The four docker-compose nginx.conf example files still show these lines though, see this file for example.
Should these lines also be removed from the docker-compose nginx.conf examples?
We had this before with the mjs extension. Problem is that nginx people change their "default" mime types slower than javascript people inventing extensions, and on top on that we're mostly volunteers maintaining this repo, and sometimes (most of the time in the case of examples) we miss changes in the official docs. You can either contribute here with a pull requests or I will update them in the next days (once I'm done patrolling the issues section for stuff that needs changing in the examples.)
It's actually on top,
https://github.com/nextcloud/documentation/blob/3b7a38407399c2815c05aa85ae810df89118245d/admin_manual/installation/nginx-root.conf.sample#L100
Updated anyway