Fix the default listener configuration

This commit is contained in:
Quentin Gliech
2023-03-14 12:14:06 +01:00
parent ad49d9a17c
commit c602b29ffd
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -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,
}],
},
],
+2 -1
View File
@@ -97,7 +97,8 @@
{
"binds": [
{
"address": "localhost:8081"
"host": "localhost",
"port": 8081
}
],
"name": "internal",