mirror of
https://github.com/tnb-labs/panel.git
synced 2026-10-13 08:59:07 +08:00
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:
@@ -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 {
|
||||
|
||||
@@ -57,7 +57,7 @@ const features: Record<string, WebServerFeatures> = {
|
||||
},
|
||||
openlitespeed: {
|
||||
quic: true,
|
||||
ipv6Listen: false,
|
||||
ipv6Listen: true,
|
||||
resolver: false,
|
||||
matchType: true,
|
||||
proxyCache: false,
|
||||
|
||||
Reference in New Issue
Block a user