From a97291523217d9e79c8f34554ff649a880104709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sylvain=20Monn=C3=A9?= Date: Sat, 19 Oct 2024 10:55:15 +0200 Subject: [PATCH] fix: added PROXY_PROTOCOL environment variable --- mailu/templates/envvars-configmap.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/mailu/templates/envvars-configmap.yaml b/mailu/templates/envvars-configmap.yaml index 91c31a6c..b895a91c 100644 --- a/mailu/templates/envvars-configmap.yaml +++ b/mailu/templates/envvars-configmap.yaml @@ -69,6 +69,7 @@ data: PROXY_AUTH_CREATE: {{ .Values.proxyAuth.create | quote }} PROXY_AUTH_HEADER: {{ .Values.proxyAuth.header | quote }} PROXY_AUTH_WHITELIST: {{ .Values.proxyAuth.whitelist | quote }} + PROXY_PROTOCOL: {{ include "mailu.proxyProtocolPorts" . | quote }} RATELIMIT_STORAGE_URL: {{ printf "redis://%s:%s/%s" (include "mailu.redis.serviceFqdn" .) (include "mailu.redis.port" .) (include "mailu.redis.db.rateLimit" .) }} REAL_IP_FROM: {{ .Values.ingress.realIpFrom | quote }} REAL_IP_HEADER: {{ .Values.ingress.realIpHeader | quote }}