From 61d90ef8e72285f9db878fd2f087cf5755404618 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 2 Dec 2024 01:44:19 +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 5cdb56a4d..bdfa11dd4 100644 --- a/web/utils/site.py +++ b/web/utils/site.py @@ -548,8 +548,8 @@ class sites(object): if version.startswith('1.25') or version.startswith('1.27'): http_ssl = "\n\tlisten 443 ssl;" http_ssl = http_ssl + "\n\tlisten [::]:443 ssl;" - http_ssl = http_ssl + "\n\tlisten 443 quic;" - http_ssl = http_ssl + "\n\tlisten [::]:443 quic;" + http_ssl = http_ssl + "\n\tlisten 443;" + http_ssl = http_ssl + "\n\tlisten [::]:443;" http_ssl = http_ssl + "\n\thttp2 on;" else: http_ssl = "\n\tlisten 443 ssl;"