mirror of https://github.com/caddyserver/caddy.git
parent
c2327161f7
commit
2196c92c0e
|
@ -186,7 +186,6 @@ func (su SRVUpstreams) expandedAddr(r *http.Request) (addr, service, proto, name
|
||||||
name = repl.ReplaceAll(su.Name, "")
|
name = repl.ReplaceAll(su.Name, "")
|
||||||
if su.Service == "" && su.Proto == "" {
|
if su.Service == "" && su.Proto == "" {
|
||||||
addr = name
|
addr = name
|
||||||
name = ""
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
service = repl.ReplaceAll(su.Service, "")
|
service = repl.ReplaceAll(su.Service, "")
|
||||||
|
|
Loading…
Reference in New Issue