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