Im bad at this
This commit is contained in:
parent
6dc8b91bf4
commit
b3f65ca947
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue