mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
parent
6b5bb5fcd1
commit
450c78f7b0
@ -98,6 +98,7 @@ http {
|
||||
set $webdav {{ WEBDAV_ADDRESS }}:5232;
|
||||
{% endif %}
|
||||
client_max_body_size {{ MESSAGE_SIZE_LIMIT|int + 8388608 }};
|
||||
http2 on;
|
||||
|
||||
# Listen on HTTP only in kubernetes or behind reverse proxy
|
||||
{% if TLS_FLAVOR in [ 'mail-letsencrypt', 'notls', 'mail' ] %}
|
||||
@ -112,7 +113,6 @@ http {
|
||||
listen 443 ssl{% if PROXY_PROTOCOL_443 %} proxy_protocol{% endif %};
|
||||
{% if SUBNET6 %}
|
||||
listen [::]:443 ssl{% if PROXY_PROTOCOL_443 %} proxy_protocol{% endif %};
|
||||
http2 on;
|
||||
{% endif %}
|
||||
|
||||
include /etc/nginx/tls.conf;
|
||||
|
1
towncrier/newsfragments/3613.bugfix
Normal file
1
towncrier/newsfragments/3613.bugfix
Normal file
@ -0,0 +1 @@
|
||||
HTTP/2 does not require ipv6; in fact it does not require SSL certs either
|
Loading…
Reference in New Issue
Block a user