Add proxy-keepalive to Nginx properties

This commit is contained in:
Ostap Brehin committed 2025-12-27 20:27:29 +00:00
1 parent fd03ee7849
commit 675529cb6f
7 files changed
+53 -3

No files matched your search

@@ -212,6 +212,7 @@ server {
{{ if $.DOKKU_APP_WEB_LISTENERS }}
{{ range $upstream_port := $.PROXY_UPSTREAM_PORTS | split " " }}
upstream {{ $.APP }}-{{ $upstream_port }} {
{{ if $.PROXY_KEEPALIVE }} keepalive {{ $.PROXY_KEEPALIVE }};{{ end }}
{{ range $listeners := $.DOKKU_APP_WEB_LISTENERS | split " " }}
{{ $listener_list := $listeners | split ":" }}
{{ $listener_ip := index $listener_list 0 }}