Skip to content

Remove application/wasm from types section in nginx examples #2457

@mwester117

Description

@mwester117

Everytime I start my nginx docker setup using the configuration https://github.com/nextcloud/docker/blob/master/.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf I get the following warning:

nginx: [warn] duplicate extension "wasm", content type: "application/wasm", previous content type: "application/wasm" in /etc/nginx/nginx.conf:17

This is because this mime type is already included in mime.types in the nginx:alpine-slim image. To avoid this warning you can simply remove the mimetype here:




Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions