From cd1885477da19cd8e19977ee323c49795b94a599 Mon Sep 17 00:00:00 2001 From: dami Date: Fri, 3 Apr 2026 14:08:08 +0800 Subject: [PATCH] Update site.py --- web/utils/site.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/utils/site.py b/web/utils/site.py index 93c407196..d7409e11a 100644 --- a/web/utils/site.py +++ b/web/utils/site.py @@ -562,8 +562,8 @@ class sites(object): http_ssl = http_ssl + "\n\thttp3 on;" http_ssl = http_ssl + "\n\thttp2 on;" else: - http_ssl = "\n\tlisten 443 ssl thttp2;" - http_ssl = http_ssl + "\n\tlisten [::]:443 ssl thttp2;" + http_ssl = "\n\tlisten 443 ssl http2;" + http_ssl = http_ssl + "\n\tlisten [::]:443 ssl http2;" conf = conf.replace(listen, listen + http_ssl) mw.backFile(file)