mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update site.py
This commit is contained in:
+2
-2
@@ -1936,10 +1936,10 @@ location ^~ {from} {\n\
|
||||
conf = re.sub(rep, 'listen 443 quic;', conf, 1)
|
||||
rep = r"listen\s+\[\:\:\]\:443.+;"
|
||||
conf = re.sub(rep, 'listen [::]:443 ssl;', conf, 1)
|
||||
rep = r"listen\s+\[\:\:\]\:443\s+quic.+;"
|
||||
conf = re.sub(rep, 'listen [::]:443 quic;', conf, 1)
|
||||
rep = r"listen\s+\[\:\:\]\:443\s+quic\s*reuseport.+;"
|
||||
conf = re.sub(rep, 'listen [::]:443 quic reuseport;', conf, 1)
|
||||
rep = r"listen\s+\[\:\:\]\:443\s+quic.+;"
|
||||
conf = re.sub(rep, 'listen [::]:443 quic;', conf, 1)
|
||||
mw.writeFile(path, conf)
|
||||
|
||||
path = self.getHostConf(name)
|
||||
|
||||
Reference in New Issue
Block a user