Browse Source

reverseproxy: Include port in A upstreams cache

Should fix #4659
master
Matthew Holt 3 years ago
parent
commit
b8dbecb841
No known key found for this signature in database GPG Key ID: 2A349DD577D586A5
  1. 2
      modules/caddyhttp/reverseproxy/upstreams.go

2
modules/caddyhttp/reverseproxy/upstreams.go

@ -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…
Cancel
Save