do not hardcode keepalive for upstream_balancer (#2227)
This commit is contained in:
parent
0398c410e6
commit
634959fd79
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()
|
||||
}
|
||||
|
||||
keepalive 1000;
|
||||
{{ if (gt $cfg.UpstreamKeepaliveConnections 0) }}
|
||||
keepalive {{ $cfg.UpstreamKeepaliveConnections }};
|
||||
{{ end }}
|
||||
}
|
||||
|
||||
{{/* build the maps that will be use to validate the Whitelist */}}
|
||||
|
|
Loading…
Reference in a new issue