Im bad at this

This commit is contained in:
Jeffrey Kosse 2021-03-29 21:25:44 +02:00
parent 6dc8b91bf4
commit b3f65ca947
1 changed files with 2 additions and 2 deletions

View File

@ -61,14 +61,14 @@ const httpsListen = domain => {
// HTTPS
config.push(['listen', `${domain.server.listenIpv4.computed === '*' ? '' : `${domain.server.listenIpv4.computed}:`}443 ssl${domain.https.http2.computed ? ' http2' : ''}`]);
// HTTP/3
if (domain.https.http3.computed)
config.push(['listen',
`${domain.server.listenIpv4.computed === '*' ? '' : `${domain.server.listenIpv4.computed}:`}443 http3`
+ `${domain.https.portReuse.computed ? ' reuseport' : ''}`,
]);
// v6
if (domain.server.listenIpv6.computed)
config.push(['listen',