nixos/nginx: use mailcap mime.types
The mime type definitions included with nginx are very incomplete, so we use a list of mime types from the mailcap package, which is also used by most other Linux distributions by default.
This commit is contained in:
committed by
Alyssa Ross
parent
015e3edd24
commit
ff0148d868
@@ -61,7 +61,10 @@ let
|
||||
|
||||
${optionalString (cfg.httpConfig == "" && cfg.config == "") ''
|
||||
http {
|
||||
include ${cfg.package}/conf/mime.types;
|
||||
# The mime type definitions included with nginx are very incomplete, so
|
||||
# we use a list of mime types from the mailcap package, which is also
|
||||
# used by most other Linux distributions by default.
|
||||
include ${pkgs.mailcap}/etc/nginx/mime.types;
|
||||
include ${cfg.package}/conf/fastcgi.conf;
|
||||
include ${cfg.package}/conf/uwsgi_params;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user