Set required nginx options and sane default

This commit is contained in:
orbitz 2013-04-14 11:17:16 +02:00
parent 8e7bb847c6
commit 388d83c586

View File

@ -5,6 +5,8 @@ with pkgs.lib;
let
cfg = config.services.nginx;
configFile = pkgs.writeText "nginx.conf" ''
user nginx nginx;
daemon off;
${cfg.config}
'';
in
@ -20,7 +22,7 @@ in
};
config = mkOption {
default = "";
default = "events {}";
description = "
Verbatim nginx.conf configuration.
";