February 2018
Beginner to intermediate
348 pages
9h 40m
English
Context: http, server, and location
Defines the default MIME type. When Nginx serves a file, the file extension is matched against the known types declared within the types block in order to return the proper MIME type as a value of the Content-Type HTTP response header. If the extension doesn't match any of the known MIME types, the value of the default_type directive is used.
Syntax: MIME type
Default value: text/plain