1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-31 09:24:31 +03:00

Fix the default listener configuration

This commit is contained in:
Quentin Gliech
2023-03-08 16:39:31 +01:00
parent ad49d9a17c
commit c602b29ffd
2 changed files with 5 additions and 3 deletions

View File

@ -358,8 +358,9 @@ impl Default for HttpConfig {
resources: vec![Resource::Health], resources: vec![Resource::Health],
tls: None, tls: None,
proxy_protocol: false, proxy_protocol: false,
binds: vec![BindConfig::Address { binds: vec![BindConfig::Listen {
address: "localhost:8081".into(), host: Some("localhost".to_owned()),
port: 8081,
}], }],
}, },
], ],

View File

@ -97,7 +97,8 @@
{ {
"binds": [ "binds": [
{ {
"address": "localhost:8081" "host": "localhost",
"port": 8081
} }
], ],
"name": "internal", "name": "internal",