mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-08-21 07:02:26 +02:00
Update to v8.10.0
This commit is contained in:
@@ -2584,6 +2584,9 @@ echo $! > {pid_file}'''.format(
|
||||
http3_header = ""
|
||||
if self.is_nginx_http3():
|
||||
http3_header = '''\n add_header Alt-Svc 'quic=":443"; h3=":443"; h3-29=":443"; h3-27=":443";h3-25=":443"; h3-T050=":443"; h3-Q050=":443";h3-Q049=":443";h3-Q048=":443"; h3-Q046=":443"; h3-Q043=":443"';'''
|
||||
http3_header += "\n quic_retry on;\n quic_gso on;"
|
||||
if self.ng_ssl_early_data_enabled():
|
||||
http3_header += "\n ssl_early_data on;"
|
||||
|
||||
nginx_ver = public.nginx_version()
|
||||
if nginx_ver:
|
||||
@@ -2606,6 +2609,9 @@ echo $! > {pid_file}'''.format(
|
||||
listen_ports_list.append(" listen {} quic;".format(p))
|
||||
if use_http2_on:
|
||||
listen_ports_list.append(" http2 on;")
|
||||
if self.is_nginx_http3():
|
||||
listen_ports_list.append(" http3 on;")
|
||||
|
||||
|
||||
else:
|
||||
listen_ports_list.append(" listen 443 ssl;")
|
||||
|
||||
Reference in New Issue
Block a user