Make nginx-proxy-http-version configurable per app or globally

This commit is contained in:
Schlepptop
2026-10-19 00:44:59 +02:00
parent 8d696d1207
commit 4badd065cc
10 changed files with 102 additions and 43 deletions

View File

@@ -1044,6 +1044,10 @@ func getIngressAnnotations(appName string, processType string) (map[string]strin
return fmt.Sprintf("proxy_busy_buffers_size %s;", value)
},
},
"proxy-http-version": {
annotation: "nginx.ingress.kubernetes.io/proxy-http-version",
getter: nginxvhosts.ComputedProxyHttpVersion,
},
"proxy-connect-timeout": {
annotation: "nginx.ingress.kubernetes.io/proxy-connect-timeout",
getter: nginxvhosts.ComputedProxyConnectTimeout,