diff --git a/configuration.go b/configuration.go index 113563d8d..a50b97701 100644 --- a/configuration.go +++ b/configuration.go @@ -31,7 +31,7 @@ type Backend struct { } type Server struct { - URL string `json:"Url"` + URL string Weight int } diff --git a/templates/configuration.tmpl b/templates/configuration.tmpl index ff71ed6d7..d3768e9c3 100644 --- a/templates/configuration.tmpl +++ b/templates/configuration.tmpl @@ -69,7 +69,7 @@ {{range $keyServers, $valueServers := $valueBackends.Servers}} {{$keyServers}} - {{$valueServers.Url}} + {{$valueServers.URL}} {{$valueServers.Weight}} {{end}}