1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-06-30 22:05:46 +00:00

feat: enable keepalive by default

This commit is contained in:
Nicolas Duchon
2024-11-25 09:16:57 +01:00
parent d7acd931a3
commit 52ffab1ce6
3 changed files with 4 additions and 8 deletions

View File

@ -655,7 +655,7 @@ proxy_set_header Proxy "";
{{- $network_tag := groupByKeys $vpath_containers "Env.NETWORK_ACCESS" | first | default "external" }}
{{- $loadbalance := groupByLabel $vpath_containers "com.github.nginx-proxy.nginx-proxy.loadbalance" | keys | first }}
{{- $keepalive := groupByLabel $vpath_containers "com.github.nginx-proxy.nginx-proxy.keepalive" | keys | first | default "disabled" }}
{{- $keepalive := groupByLabel $vpath_containers "com.github.nginx-proxy.nginx-proxy.keepalive" | keys | first | default "auto" }}
{{- $upstream := $vhost_data.upstream_name }}
{{- if (not (eq $path "/")) }}