Opened 4 years ago

Last modified 4 years ago

#738 new defect

Describe how to extend mime.types in types docs

Reported by: launchpad.net/~techtonik Owned by:
Priority: minor Milestone:
Component: documentation Version: 1.7.x
Keywords: Cc:
uname -a:
nginx -V: nginx/1.7.11

Description

The correct way to extend mime.types with types is to include it in the same section:

include mime.types;
types {
    # here is additional types
}

From here: http://stackoverflow.com/questions/16789494/extending-default-nginx-mime-types-file

But this is not documented in: http://nginx.org/en/docs/http/ngx_http_core_module.html#types

Change History (2)

comment:1 Changed 4 years ago by mdounin

  • Component changed from nginx-core to other

comment:2 Changed 4 years ago by mdounin

  • Component changed from other to documentation
Note: See TracTickets for help on using tickets.