mirror of
https://github.com/alibaba/higress.git
synced 2026-05-27 22:27:29 +08:00
ext auth plugin support set service host (#1320)
Co-authored-by: Kent Dong <ch3cho@qq.com>
This commit is contained in:
@@ -138,10 +138,12 @@ func parseEndpointConfig(json gjson.Result, httpService *HttpService, log wrappe
|
||||
if servicePort == 0 {
|
||||
servicePort = 80
|
||||
}
|
||||
serviceHost := endpointConfig.Get("service_host").String()
|
||||
|
||||
httpService.client = wrapper.NewClusterClient(wrapper.FQDNCluster{
|
||||
FQDN: serviceName,
|
||||
Port: servicePort,
|
||||
Host: serviceHost,
|
||||
})
|
||||
|
||||
switch endpointMode {
|
||||
|
||||
Reference in New Issue
Block a user