diff --git a/web/core/mw.py b/web/core/mw.py index 4df344b6c..4ecfbfff2 100644 --- a/web/core/mw.py +++ b/web/core/mw.py @@ -925,12 +925,17 @@ def isSupportSystemctl(): def isSupportHttp3(version): if version.startswith('1.29'): return True + if version.startswith('1.31'): + return True return False def isVhostHasReuseport(version): if not version.startswith('1.29'): return False + if not version.startswith('1.31'): + return False + vhost_dir = getServerDir() + '/web_conf/nginx/vhost' if not os.path.exists(vhost_dir): return False