1
0
Fork 0

allow to add to haproxy globals and defaults

This commit is contained in:
ibizaman 2023-01-22 00:15:15 -08:00
parent eafb9f311d
commit ef526699b4

View file

@ -324,6 +324,8 @@ in
, stats ? null
, debug ? false
, sites ? {}
, globals ? {}
, defaults ? {}
}: {
global = {
# Silence a warning issued by haproxy. Using 2048
@ -339,7 +341,7 @@ in
inherit plugins;
setenv = globalEnvs;
};
} // globals;
defaults = {
log = "global";
@ -351,7 +353,7 @@ in
server = "30s";
queue = "100s";
};
};
} // defaults;
frontend = {
http-to-https = {