Merge pull request #141 from orbitz/fix-nginx-required-config
Fix nginx required config
This commit is contained in:
@@ -5,6 +5,8 @@ with pkgs.lib;
|
|||||||
let
|
let
|
||||||
cfg = config.services.nginx;
|
cfg = config.services.nginx;
|
||||||
configFile = pkgs.writeText "nginx.conf" ''
|
configFile = pkgs.writeText "nginx.conf" ''
|
||||||
|
user nginx nginx;
|
||||||
|
daemon off;
|
||||||
${cfg.config}
|
${cfg.config}
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
@@ -20,7 +22,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = mkOption {
|
config = mkOption {
|
||||||
default = "";
|
default = "events {}";
|
||||||
description = "
|
description = "
|
||||||
Verbatim nginx.conf configuration.
|
Verbatim nginx.conf configuration.
|
||||||
";
|
";
|
||||||
|
|||||||
Reference in New Issue
Block a user