Fix muc component http_host.

This commit is contained in:
John Livingston
2021-07-06 11:26:37 +02:00
parent 9a65da50e5
commit 98c5518059
2 changed files with 3 additions and 4 deletions

View File

@ -190,6 +190,8 @@ class ProsodyConfigContent {
this.anon.set('http_external_url', 'http://' + prosodyDomain)
this.muc.set('restrict_room_creation', 'local')
this.muc.set('http_host', prosodyDomain)
this.muc.set('http_external_url', 'http://' + prosodyDomain)
if (this.authenticated) {
this.authenticated.set('trusted_proxies', ['127.0.0.1', '::1'])