do not hardcode keepalive for upstream_balancer (#2227)
This commit is contained in:
parent
88cb266a74
commit
1a32a4c1d6
2 changed files with 4 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
@ -378,7 +378,9 @@ http {
|
||||||
balancer.call()
|
balancer.call()
|
||||||
}
|
}
|
||||||
|
|
||||||
keepalive 1000;
|
{{ if (gt $cfg.UpstreamKeepaliveConnections 0) }}
|
||||||
|
keepalive {{ $cfg.UpstreamKeepaliveConnections }};
|
||||||
|
{{ end }}
|
||||||
}
|
}
|
||||||
|
|
||||||
{{/* build the maps that will be use to validate the Whitelist */}}
|
{{/* build the maps that will be use to validate the Whitelist */}}
|
||||||
|
|
Loading…
Reference in a new issue