diff --git a/crates/config/src/sections/http.rs b/crates/config/src/sections/http.rs index c09a9bb5..d5e54a1e 100644 --- a/crates/config/src/sections/http.rs +++ b/crates/config/src/sections/http.rs @@ -358,8 +358,9 @@ impl Default for HttpConfig { resources: vec![Resource::Health], tls: None, proxy_protocol: false, - binds: vec![BindConfig::Address { - address: "localhost:8081".into(), + binds: vec![BindConfig::Listen { + host: Some("localhost".to_owned()), + port: 8081, }], }, ], diff --git a/docs/config.schema.json b/docs/config.schema.json index eb27ef8a..91174571 100644 --- a/docs/config.schema.json +++ b/docs/config.schema.json @@ -97,7 +97,8 @@ { "binds": [ { - "address": "localhost:8081" + "host": "localhost", + "port": 8081 } ], "name": "internal",