docker icon indicating copy to clipboard operation
docker copied to clipboard

Difference between nginx.conf in documentation and docker-compose example files regarding .wasm

Open siccovansas opened this issue 6 months ago • 2 comments

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?

siccovansas avatar Jun 15 '25 14:06 siccovansas

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.)

tzerber avatar Jul 23 '25 21:07 tzerber

It's actually on top,

https://github.com/nextcloud/documentation/blob/3b7a38407399c2815c05aa85ae810df89118245d/admin_manual/installation/nginx-root.conf.sample#L100

Updated anyway

tzerber avatar Sep 29 '25 14:09 tzerber