Update core/nginx/conf/nginx.conf

Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>
This commit is contained in:
Florent Daigniere
2024-06-09 11:59:05 +02:00
committed by GitHub
parent 4e28a053e3
commit c63bd0ce38

View File

@@ -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 %}