summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2025-09-21 17:12:31 +0100
committerMatthew Fennell <matthew@fennell.dev>2025-09-21 17:59:02 +0100
commit68afb82c933c1b80fdadf77f4a6bce6f2d4ef54d (patch)
treecb09a075a4efbd6d896222d487540c97ef3582e4 /files
parenteaf1e70bed9fb6029800a8d8ba5b0b53b4f32929 (diff)
Configure proxy65
This configuration allows me to remove the proxy DNS records, and keep the configuration internal to prosody.
Diffstat (limited to 'files')
-rw-r--r--files/prosody.cfg.lua.j21
-rw-r--r--files/virtual_host.cfg.lua.j212
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";