Allow Ability to Configure Upstream Keepalive
Allows Upstream Keepalive values like keepalive_timeout and keepalive_requests to be configured via ConfigMap. Fixes #3099
This commit is contained in:
parent
3c1a5c5fc2
commit
12955a4a1b
3 changed files with 41 additions and 3 deletions
|
|
@ -416,6 +416,9 @@ http {
|
|||
|
||||
{{ if (gt $cfg.UpstreamKeepaliveConnections 0) }}
|
||||
keepalive {{ $cfg.UpstreamKeepaliveConnections }};
|
||||
|
||||
keepalive_timeout {{ $cfg.UpstreamKeepaliveTimeout }}s;
|
||||
keepalive_requests {{ $cfg.UpstreamKeepaliveRequests }};
|
||||
{{ end }}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue