Opened 11 years ago
Last modified 4 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 , 10 years ago
| Component: | nginx-core → other |
|---|
comment:2 by , 10 years ago
| Component: | other → documentation |
|---|
Note:
See TracTickets
for help on using tickets.
