services.nginx.defaultMimeTypes

NixOS option

Default MIME types for NGINX, as MIME types definitions from NGINX are very incomplete, we use by default the ones bundled in the mailcap package, used by most of the other Linux distributions.

type: absolute path
Default
$''{pkgs.mailcap}/etc/nginx/mime.types
Example
$''{pkgs.nginx}/conf/mime.types
declared in: nixos/modules/services/web-servers/nginx/default.nixView source on NixOS/nixpkgs →