1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00

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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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