Merge pull request #910 from midoks/dev

常规更新
This commit is contained in:
Mr Chen 2026-06-20 19:38:45 +08:00 committed by GitHub
commit 34ed0b96d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

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