mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-25 09:14:53 +08:00
parent
134b805644
commit
b8dbecb841
|
@ -342,7 +342,7 @@ func (au AUpstreams) GetUpstreams(r *http.Request) ([]*Upstream, error) {
|
|||
return upstreams, nil
|
||||
}
|
||||
|
||||
func (au AUpstreams) String() string { return au.Name }
|
||||
func (au AUpstreams) String() string { return net.JoinHostPort(au.Name, au.Port) }
|
||||
|
||||
type aLookup struct {
|
||||
aUpstreams AUpstreams
|
||||
|
|
Loading…
Reference in New Issue
Block a user