diff options
Diffstat (limited to 'files')
| -rw-r--r-- | files/prosody.cfg.lua.j2 | 1 | ||||
| -rw-r--r-- | files/virtual_host.cfg.lua.j2 | 12 |
2 files changed, 12 insertions, 1 deletions
diff --git a/files/prosody.cfg.lua.j2 b/files/prosody.cfg.lua.j2 index c05c730..52022f4 100644 --- a/files/prosody.cfg.lua.j2 +++ b/files/prosody.cfg.lua.j2 @@ -29,7 +29,6 @@ modules_enabled = { "pep"; "ping"; "private"; - "proxy65"; "roster"; "sasl2"; "sasl2_bind2"; diff --git a/files/virtual_host.cfg.lua.j2 b/files/virtual_host.cfg.lua.j2 index d972e74..43d7b31 100644 --- a/files/virtual_host.cfg.lua.j2 +++ b/files/virtual_host.cfg.lua.j2 @@ -59,6 +59,18 @@ Component "upload.{{ virtual_host }}" "http_file_share" http_file_share_size_limit = 300 * 1024 * 1024 http_file_share_global_quota = 5 * 1024 * 1024 * 1024 +Component "proxy.{{ virtual_host }}" "proxy65" + +{% if delegate_prefix == "" %} +proxy65_address = "{{ virtual_host }}" +{% else %} +proxy65_address = "{{ delegate_prefix }}.{{ virtual_host }}" +{% endif %} + +modules_disabled = { + "s2s"; +} + Component "conference.{{ virtual_host }}" "muc" modules_enabled = { "muc"; |
