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:
parent
4e28a053e3
commit
c63bd0ce38
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user