mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-21 05:43:09 -06:00
Set Listen address for all services in HTTP monolith mode
This commit is contained in:
parent
c00bcb3826
commit
6d3eb55b45
|
|
@ -54,13 +54,17 @@ func main() {
|
||||||
// the API endpoints. They'll listen on the same port as the monolith
|
// the API endpoints. They'll listen on the same port as the monolith
|
||||||
// itself.
|
// itself.
|
||||||
addr := config.Address(*httpBindAddr)
|
addr := config.Address(*httpBindAddr)
|
||||||
cfg.RoomServer.Listen = addr
|
|
||||||
cfg.EDUServer.Listen = addr
|
|
||||||
cfg.AppServiceAPI.Listen = addr
|
cfg.AppServiceAPI.Listen = addr
|
||||||
cfg.FederationSender.Listen = addr
|
cfg.ClientAPI.Listen = addr
|
||||||
cfg.ServerKeyAPI.Listen = addr
|
|
||||||
cfg.CurrentStateServer.Listen = addr
|
cfg.CurrentStateServer.Listen = addr
|
||||||
|
cfg.EDUServer.Listen = addr
|
||||||
|
cfg.FederationAPI.Listen = addr
|
||||||
|
cfg.FederationSender.Listen = addr
|
||||||
cfg.KeyServer.Listen = addr
|
cfg.KeyServer.Listen = addr
|
||||||
|
cfg.MediaAPI.Listen = addr
|
||||||
|
cfg.RoomServer.Listen = addr
|
||||||
|
cfg.ServerKeyAPI.Listen = addr
|
||||||
|
cfg.SyncAPI.Listen = addr
|
||||||
}
|
}
|
||||||
|
|
||||||
base := setup.NewBaseDendrite(cfg, "Monolith", *enableHTTPAPIs)
|
base := setup.NewBaseDendrite(cfg, "Monolith", *enableHTTPAPIs)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue