Update mw.py

This commit is contained in:
dami
2026-06-20 19:36:23 +08:00
parent 4d0b7bc127
commit ab353d2268
+5
View File
@@ -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