feat(openlitespeed): 支持站点监听 IPv6

OLS 的 *:端口 只绑 IPv4,之前又没开放 IPv6Listen,站点无法通过 IPv6 访问。现在与 nginx 一样按“监听 IPv6”设置为站点补 [::] 监听,syncListeners 为其生成独立的 IPv6 监听器。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
耗子
2026-09-24 22:19:11 +08:00
co-authored by Claude Opus 5.5
parent 3df51d94d7
commit 333a230276
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ func (Dialect) PanelACMEConf() string {
}
func (Dialect) Features() types.Features {
return types.Features{LSCache: true}
return types.Features{IPv6Listen: true, LSCache: true}
}
func (Dialect) HTTPSListenArgs() []string {
+1 -1
View File
@@ -57,7 +57,7 @@ const features: Record<string, WebServerFeatures> = {
},
openlitespeed: {
quic: true,
ipv6Listen: false,
ipv6Listen: true,
resolver: false,
matchType: true,
proxyCache: false,