Enable some modules when installed, if they work with reasonable default config

This commit is contained in:
Badlop 2022-07-26 15:40:23 +02:00
parent cc4702882f
commit 8499366bcc
8 changed files with 44 additions and 39 deletions

View File

@ -1,8 +1,9 @@
# edit this file to fit your needs # edit this file to fit your needs
# log all vhosts chats in /var/log/ejabberd/chat directory in html # log all vhosts chats in /var/log/ejabberd/chat directory in html
#modules: modules:
# mod_log_chat: mod_log_chat:
path: auto
# path: /var/log/ejabberd/chat # path: /var/log/ejabberd/chat
# format: html # format: html

View File

@ -1,3 +1,4 @@
#modules: modules:
# mod_logsession: mod_logsession:
sessionlog: auto
# sessionlog: "/var/log/ejabberd/session_@HOST@.log" # sessionlog: "/var/log/ejabberd/session_@HOST@.log"

View File

@ -1,3 +1,4 @@
#modules: modules:
# mod_message_log: mod_message_log:
filename: auto
# filename: "/var/log/ejabberd/message.log" # filename: "/var/log/ejabberd/message.log"

View File

@ -1,11 +1,11 @@
#listen: listen:
# - -
# port: 5282 port: 5282
# module: ejabberd_http module: ejabberd_http
# request_handlers: request_handlers:
# "/muclog": mod_muc_log_http /muclogs: mod_muc_log_http
#modules: modules:
# mod_muc_log: # mod_muc_log:
# outdir: "/tmp/muclogs" # outdir: "/tmp/muclogs"
# mod_muc_log_http: {} mod_muc_log_http: {}

View File

@ -1,12 +1,11 @@
#modules: modules:
# mod_rest: mod_rest:
# allowed_ips: allowed_ips:
# - "127.0.0.1" - "127.0.0.1"
#listen:
# -
# port: 5285
# module: ejabberd_http
# request_handlers:
# "/rest": mod_rest
listen:
-
port: 5285
module: ejabberd_http
request_handlers:
/rest: mod_rest

View File

@ -1,3 +1,4 @@
#modules: modules:
# mod_s2s_log: mod_s2s_log:
filename: auto
# filename: "/var/log/ejabberd/s2s.log" # filename: "/var/log/ejabberd/s2s.log"

View File

@ -1,3 +1,4 @@
#modules: modules:
# mod_statsdx: mod_statsdx:
hooks: false
# hooks: true # hooks: true

View File

@ -1,11 +1,12 @@
#listen: listen:
# - -
# port: 5284 port: 5284
# module: ejabberd_http module: ejabberd_http
# request_handlers: request_handlers:
# "/presence": mod_webpresence /presence: mod_webpresence
#modules: modules:
# mod_webpresence: mod_webpresence:
# access: local access: local
# pixmaps_path: "/etc/ejabberd/priv/pixmaps" pixmaps_path: auto
#pixmaps_path: "/etc/ejabberd/priv/pixmaps"