diff --git a/src/executor/nginx.js b/src/executor/nginx.js index 8a8f299..9c27002 100644 --- a/src/executor/nginx.js +++ b/src/executor/nginx.js @@ -161,11 +161,11 @@ class NginxExecutor { node._add('http2', "on"); } if (httpconf == 3) { - node._add('listen', info.ip ? info.ip + ":443 quic reuseport" : "443 quic reuseport"); - node._add('listen', (info.ip6 || '[::]') + ":443 quic reuseport"); + node._add('listen', info.ip ? info.ip + ":443 quic" : "443 quic"); + node._add('listen', (info.ip6 || '[::]') + ":443 quic"); node._add('http2', "on"); node._add('http3', "on"); - node._add('add_header', `Alt-Svc 'h3=":443"; ma=86400'`); + node._add('add_header', `Alt-Svc 'h3=":443"; ma=86400, h3-29=":443"'`); } } { node._add('root', info.root);