diff --git a/internal/server/http.go b/internal/server/http.go index bbe4544..4e7adab 100644 --- a/internal/server/http.go +++ b/internal/server/http.go @@ -48,6 +48,7 @@ func buildHTTPServer(c *conf.Bootstrap, accessLogger *log2.AccessLogger, log *lo if c.Server.Http.Network != "" { opts = append(opts, http.Network(c.Server.Http.Network)) } + if c.Server.Http.Addr != "" { opts = append(opts, http.Address(c.Server.Http.Addr)) }