mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update mw.py
This commit is contained in:
@@ -930,6 +930,9 @@ def isSupportHttp3(version):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def isVhostHasReuseport(version):
|
def isVhostHasReuseport(version):
|
||||||
|
if not isSupportHttp3(version):
|
||||||
|
return False
|
||||||
|
|
||||||
vhost_dir = getServerDir() + '/web_conf/nginx/vhost'
|
vhost_dir = getServerDir() + '/web_conf/nginx/vhost'
|
||||||
if not os.path.exists(vhost_dir):
|
if not os.path.exists(vhost_dir):
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user