mirror of
https://github.com/openziti/zrok.git
synced 2025-08-09 16:15:04 +02:00
@ -89,3 +89,7 @@ func realRemoteAddress(req *http.Request) string {
|
||||
}
|
||||
return ip
|
||||
}
|
||||
|
||||
func proxyUrl(svcName string) string {
|
||||
return strings.Replace(cfg.Proxy.UrlTemplate, "{svcName}", svcName, -1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user