mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-01 23:57: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:
parent
3efd4257b5
commit
8028e17b6e
@ -31,8 +31,9 @@ server {
|
|||||||
|
|
||||||
# The secure HTTPS server.
|
# The secure HTTPS server.
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
|
|
||||||
server_name $HOSTNAME;
|
server_name $HOSTNAME;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user