Opened 10 years ago

Last modified 3 years ago

#738 new defect

Describe how to extend mime.types in types docs

Reported by: anatoly 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 by Maxim Dounin, 9 years ago

Component: nginx-coreother

comment:2 by Maxim Dounin, 9 years ago

Component: otherdocumentation
Note: See TracTickets for help on using tickets.