3
0
Fork 0
forked from mirrors/nixpkgs

nginx: include mimetypes mapping

This commit is contained in:
Domen Kožar 2015-09-07 14:17:33 +02:00
parent 5a255bb501
commit b01eebf021

View file

@ -8,9 +8,12 @@ let
configFile = pkgs.writeText "nginx.conf" ''
user ${cfg.user} ${cfg.group};
daemon off;
${cfg.config}
${optionalString (cfg.httpConfig != "") ''
http {
include ${cfg.package}/conf/mime.types;
${cfg.httpConfig}
}
''}