mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-18 04:25:50 +08:00
fix: Fixed issue with website proxy proxy_ssl_name display error (#10079)
This commit is contained in:
parent
c69c76f97d
commit
815b633fb8
1 changed files with 3 additions and 0 deletions
|
@ -1835,6 +1835,9 @@ func (w WebsiteService) GetProxies(id uint) (res []request.WebsiteProxyConfig, e
|
|||
if directive.GetName() == "proxy_ssl_server_name" {
|
||||
proxyConfig.SNI = directive.GetParameters()[0] == "on"
|
||||
}
|
||||
if directive.GetName() == "proxy_ssl_name" && len(directive.GetParameters()) > 0 {
|
||||
proxyConfig.ProxySSLName = directive.GetParameters()[0]
|
||||
}
|
||||
}
|
||||
res = append(res, proxyConfig)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue