commit
34ed0b96d3
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue