Commit 959b797f authored by Ave's avatar Ave 🤔

Push 19.05 configs

- Enabled MIX (needs a cert on mix subdomain)
- Enabled MucSub
- Enabled MQTT (over port 1883)
- Enabled MQTT over websocket (:5280/mqtt)
- Moved captcha and bosh from the deprecated config values to the new
ones

If you're upgrading with this, please be aware that you need to modify
your psql for MIX and MQTT.
Use the MIX stuff from this: https://docs.ejabberd.im/admin/upgrade/from_18.12_to_19.02/
MQTT from: https://github.com/processone/ejabberd/blob/7511da0f266e61fa12c640bd418606baca4c78ed/sql/pg.new.sql#L629-L644
(otherwise it'll fail to boot, the upgrade docs are broken)
parent f6355b12
......@@ -14,9 +14,9 @@ For maximum compliance, you'll need to include equivalent dns records to those i
Please keep in mind that we often make use of features that are only available in the latest ejabberd version, so it might not be possible to run the config on anything before the latest release.
Right now, a3.pm ejabberd runs a version of ejabberd we built ourselves with `make distclean && ./autogen.sh && ./configure --disable-elixir --enable-pgsql && make && sudo make install` (thanks a LOT to people on the ejabberd MUC for help with this), as ejabberd 18.12 has a bug with carbons.
Right now, a3.pm ejabberd runs a version of ejabberd we built ourselves with `make distclean && ./autogen.sh && ./configure --disable-elixir --enable-pgsql && make && sudo make install && sudo chmod +x /usr/local/sbin/ejabberdctl && sudo chown ejabberd:ejabberd /usr/local/sbin/ejabberdctl && sudo systemctl restart ejabberd` (thanks a LOT to people on the ejabberd MUC for help with this), as the 18.12 version of ejabberd had various bugs that required us to compile from source, but this is no longer the case.
Note: 18.12.1 is now officially packaged and released. We might move back to that in the future. You're encouraged to use that instead.
You're recommended to just use the version packaged for your distro, but if you feel like compiling ejabberd like we are, feel free to do so.
## PostgreSQL
......
......@@ -206,20 +206,22 @@ listen:
"/bosh": mod_bosh
"/oauth": ejabberd_oauth
"/api": mod_http_api
"/mqtt": mod_mqtt
"/captcha": ejabberd_captcha
## "/pub/archive": mod_http_fileserver
# web_admin: true
## register: true
captcha: true
-
port: 5281
ip: "::"
module: ejabberd_http
tls: true
http_bind: true
request_handlers:
"/bosh": mod_bosh
"/captcha": ejabberd_captcha
# web_admin: true
## register: true
captcha: true
##
## To enable secure http upload
......@@ -240,6 +242,15 @@ listen:
# dhfile: 'DH_FILE'
# ciphers: 'TLS_CIPHERS'
##
## To enable MQTT
##
-
port: 1883
ip: "::"
module: mod_mqtt
backlog: 1000
## Disabling digest-md5 SASL authentication. digest-md5 requires plain-text
## password storage (see auth_password_format option).
## disable_sasl_mechanisms: "digest-md5"
......@@ -691,6 +702,7 @@ modules:
assume_mam_usage: true
default: always
compress_xml: false
user_mucsub_from_muc_archive: true
mod_muc:
## host: "conference.@HOST@"
access:
......@@ -702,11 +714,13 @@ modules:
default_room_options:
allow_subscription: true
mam: true
max_users: 300
mod_muc_admin: {}
## mod_muc_log: {}
## mod_multicast: {}
mod_offline:
access_max_user_messages: max_user_offline_messages
bounce_groupchat: true
mod_ping: {}
## mod_pres_counter:
## count: 5
......@@ -811,6 +825,8 @@ modules:
mod_s2s_dialback: {}
mod_http_api: {}
mod_fail2ban: {}
mod_mqtt: {}
mod_mix: {}
##
## Enable modules with custom options in a specific virtual host
......
......@@ -15,7 +15,7 @@
<p>A public XMPP server managed by Ave and Luna.</p>
<ul>
<li>
ejabberd 19.02
ejabberd 19.05
</li>
<li>
Scores <span class=score>15/15</span> on the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment