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:
+1
-1
@@ -940,7 +940,7 @@ def isVhostHasReuseport():
|
|||||||
if filename.endswith('.conf'):
|
if filename.endswith('.conf'):
|
||||||
filepath = os.path.join(vhost_dir, filename)
|
filepath = os.path.join(vhost_dir, filename)
|
||||||
content = readFile(filepath)
|
content = readFile(filepath)
|
||||||
if content and 'reuseport' in content:
|
if content and 'quic reuseport' in content:
|
||||||
return True
|
return True
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user