1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-03-30 23:37:05 +00:00

update: nginx recommands to use http2 directive

- use (the new http2 directive)[https://nginx.org/en/docs/http/ngx_http_v2_module.html#http2]
- remove warnings when you run  `nginx -t`
This commit is contained in:
tetuaoro 2025-03-02 22:35:25 +01:00
parent 3efd4257b5
commit 8028e17b6e

View File

@ -31,8 +31,9 @@ server {
# The secure HTTPS server.
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
server_name $HOSTNAME;