allow to add to haproxy globals and defaults
This commit is contained in:
parent
eafb9f311d
commit
ef526699b4
1 changed files with 4 additions and 2 deletions
|
@ -324,6 +324,8 @@ in
|
||||||
, stats ? null
|
, stats ? null
|
||||||
, debug ? false
|
, debug ? false
|
||||||
, sites ? {}
|
, sites ? {}
|
||||||
|
, globals ? {}
|
||||||
|
, defaults ? {}
|
||||||
}: {
|
}: {
|
||||||
global = {
|
global = {
|
||||||
# Silence a warning issued by haproxy. Using 2048
|
# Silence a warning issued by haproxy. Using 2048
|
||||||
|
@ -339,7 +341,7 @@ in
|
||||||
inherit plugins;
|
inherit plugins;
|
||||||
|
|
||||||
setenv = globalEnvs;
|
setenv = globalEnvs;
|
||||||
};
|
} // globals;
|
||||||
|
|
||||||
defaults = {
|
defaults = {
|
||||||
log = "global";
|
log = "global";
|
||||||
|
@ -351,7 +353,7 @@ in
|
||||||
server = "30s";
|
server = "30s";
|
||||||
queue = "100s";
|
queue = "100s";
|
||||||
};
|
};
|
||||||
};
|
} // defaults;
|
||||||
|
|
||||||
frontend = {
|
frontend = {
|
||||||
http-to-https = {
|
http-to-https = {
|
||||||
|
|
Loading…
Reference in a new issue