From 8028e17b6e12fe363cafa2d8615baf62e0e4fe87 Mon Sep 17 00:00:00 2001 From: tetuaoro <65575727+tetuaoro@users.noreply.github.com> Date: Sun, 2 Mar 2025 22:35:25 +0100 Subject: [PATCH] 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` --- conf/nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index fafd3409..5390e001 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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;