parent
199f5a2844
commit
b0b0a45bb1
@ -18,7 +18,7 @@ let
|
|||||||
|
|
||||||
${cfg.config}
|
${cfg.config}
|
||||||
|
|
||||||
${optionalString (cfg.httpConfig == "") ''
|
${optionalString (cfg.httpConfig == "" && cfg.config == "") ''
|
||||||
http {
|
http {
|
||||||
include ${cfg.package}/conf/mime.types;
|
include ${cfg.package}/conf/mime.types;
|
||||||
include ${cfg.package}/conf/fastcgi.conf;
|
include ${cfg.package}/conf/fastcgi.conf;
|
||||||
@ -233,9 +233,12 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = mkOption {
|
config = mkOption {
|
||||||
default = "events {}";
|
default = "";
|
||||||
description = "
|
description = "
|
||||||
Verbatim nginx.conf configuration.
|
Verbatim nginx.conf configuration.
|
||||||
|
This is mutually exclusive with the structured configuration
|
||||||
|
via virtualHosts and the recommendedXyzSettings configuration
|
||||||
|
options. See appendConfig for appending to the generated http block.
|
||||||
";
|
";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -268,8 +271,8 @@ in
|
|||||||
default = "";
|
default = "";
|
||||||
description = "
|
description = "
|
||||||
Configuration lines to be appended to the generated http block.
|
Configuration lines to be appended to the generated http block.
|
||||||
This is mutually exclusive with using httpConfig for specifying the whole
|
This is mutually exclusive with using config and httpConfig for
|
||||||
http block verbatim.
|
specifying the whole http block verbatim.
|
||||||
";
|
";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user