From c63bd0ce38832bea9e12894d9fca1f567506286b Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Sun, 9 Jun 2024 11:59:05 +0200 Subject: [PATCH] Update core/nginx/conf/nginx.conf Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com> --- core/nginx/conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/nginx/conf/nginx.conf b/core/nginx/conf/nginx.conf index bbd86fdc..e7d4885e 100644 --- a/core/nginx/conf/nginx.conf +++ b/core/nginx/conf/nginx.conf @@ -96,7 +96,7 @@ http { # Listen on HTTP only in kubernetes or behind reverse proxy {% if TLS_FLAVOR in [ 'mail-letsencrypt', 'notls', 'mail' ] %} - listen 80{% if PROXY_HTTPPROTOCOL_80 %} proxy_protocol{% endif %}; + listen 80{% if PROXY_PROTOCOL_80 %} proxy_protocol{% endif %}; {% if SUBNET6 %} listen [::]:80{% if PROXY_PROTOCOL_80 %} proxy_protocol{% endif %}; {% endif %}