extending default nginx mime.types file

If I add a types {…} section to my nginx.conf it will override all
the other types that were declared with the include mime.types;.

No, it won’t.

You just need to specify additional types on the same level as your mime.types include:

include mime.types;
types {
    # here are additional types
    application/javascript mjs;
}

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)