Merge pull request #141 from orbitz/fix-nginx-required-config

Fix nginx required config
This commit is contained in:
Domen Kožar 2013-04-14 02:28:23 -07:00
commit 25cd3579cb

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.
";