reverseproxy: Include port in A upstreams cache

Should fix #4659
This commit is contained in:
Matthew Holt 2022-03-24 10:44:36 -06:00
parent 134b805644
commit b8dbecb841
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5
1 changed files with 1 additions and 1 deletions

View File

@ -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