Skip to content

Commit

Permalink
darkhttpd: add mimetypes flag
Browse files Browse the repository at this point in the history
  • Loading branch information
disassembler committed May 20, 2022
1 parent bc88d7b commit 29f9ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/docs/entrypoints.nix
Expand Up @@ -10,7 +10,7 @@ in {
runtimeInputs = [nixpkgs.darkhttpd];
name = "entrypoint";
text = ''
exec darkhttpd "''${CONFIG_HTML_ROOT:-${packages.mdbook}}" --port "''${NOMAD_PORT_http:-8080}"
exec darkhttpd "''${CONFIG_HTML_ROOT:-${packages.mdbook}}" --port "''${NOMAD_PORT_http:-8080}" --mimetypes ${nixpkgs.mailcap}/etc/mime.types
'';
};
}

0 comments on commit 29f9ecd

Please sign in to comment.