From cfacd5a810c74270f930628d6c1be98810de9d7c Mon Sep 17 00:00:00 2001 From: akafeng Date: Wed, 17 Jan 2024 18:03:52 +0800 Subject: [PATCH] fix: support HTTP/2 and HTTP/3 --- config/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/nginx.conf b/config/nginx.conf index 211c419..2a4e7a6 100755 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -24,6 +24,9 @@ http { tcp_nodelay on; server_tokens off; + http2 on; + http3 on; + keepalive_timeout 60s; server_names_hash_bucket_size 128; client_header_buffer_size 32k;