|
|
@ -2815,6 +2815,7 @@ location ^~ {from} {\n\ |
|
|
|
http_ssl = http_ssl + "\n\tlisten [::]:443 ssl reuseport;" |
|
|
|
http_ssl = http_ssl + "\n\tlisten [::]:443 ssl reuseport;" |
|
|
|
if version == '1.25.3.1': |
|
|
|
if version == '1.25.3.1': |
|
|
|
http_ssl = http_ssl + "\n\tlisten 443 quic reuseport;" |
|
|
|
http_ssl = http_ssl + "\n\tlisten 443 quic reuseport;" |
|
|
|
|
|
|
|
http_ssl = http_ssl + "\n\tlisten [::]:443 quic reuseport;" |
|
|
|
http_ssl = http_ssl + "\n\thttp2 on;" |
|
|
|
http_ssl = http_ssl + "\n\thttp2 on;" |
|
|
|
|
|
|
|
|
|
|
|
conf = conf.replace(listen, listen + http_ssl) |
|
|
|
conf = conf.replace(listen, listen + http_ssl) |
|
|
|