Modules that require configuration, provide it commented (#303)

This commit is contained in:
Badlop 2021-07-07 21:53:44 +02:00
parent 4aa09c552c
commit c9084fae66
18 changed files with 101 additions and 101 deletions

View File

@ -1,2 +1,2 @@
modules:
mod_cron: {}
#modules:
# mod_cron: {}

View File

@ -1,3 +1,3 @@
modules:
mod_default_contacts:
contacts: []
#modules:
# mod_default_contacts:
# contacts: []

View File

@ -1,3 +1,3 @@
modules:
mod_default_rooms:
rooms: []
#modules:
# mod_default_rooms:
# rooms: []

View File

@ -1,2 +1,2 @@
modules:
mod_deny_omemo: {}
#modules:
# mod_deny_omemo: {}

View File

@ -1,12 +1,12 @@
modules:
mod_filter: {}
#modules:
# mod_filter: {}
access_rules:
mod_filter:
- allow: all
mod_filter_presence:
- allow: all
mod_filter_message:
- allow: all
mod_filter_iq:
- allow: all
#access_rules:
# mod_filter:
# - allow: all
# mod_filter_presence:
# - allow: all
# mod_filter_message:
# - allow: all
# mod_filter_iq:
# - allow: all

View File

@ -1,5 +1,4 @@
modules:
mod_grafite:
statsdhost: "carbonr.xmpp.com.br"
statsdport: 8125
#modules:
# mod_grafite:
# statsdhost: "carbonr.xmpp.com.br"
# statsdport: 8125

View File

@ -1,10 +1,10 @@
# edit this file to fit your needs
# log all vhosts chats in /var/log/ejabberd/chat directory in html
modules:
mod_log_chat:
path: "/var/log/ejabberd/chat"
format: html
#modules:
# mod_log_chat:
# path: "/var/log/ejabberd/chat"
# format: html
# log only vh1.myjabberserver.net vhost in /var/log/ejabberd/vh1.myjabberserver.net directory

View File

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

View File

@ -1,16 +1,16 @@
modules:
mod_logxml:
stanza:
- iq
- other
direction:
- external
orientation:
- send
- recv
logdir: "/tmp/logs/"
show_ip: false
rotate_days: 1
rotate_megs: 100
rotate_kpackets: 0
check_rotate_kpackets: 1
#modules:
# mod_logxml:
# stanza:
# - iq
# - other
# direction:
# - external
# orientation:
# - send
# - recv
# logdir: "/tmp/logs/"
# show_ip: false
# rotate_days: 1
# rotate_megs: 100
# rotate_kpackets: 0
# check_rotate_kpackets: 1

View File

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

View File

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

View File

@ -1,3 +1,3 @@
modules:
mod_post_log:
url: "http://foo.bar.com/messages"
#modules:
# mod_post_log:
# url: "http://foo.bar.com/messages"

View File

@ -1,8 +1,8 @@
modules:
mod_pottymouth:
blacklists:
default: /etc/ejabberd/modules/mod_pottymouth/blacklist_en.txt
en: /etc/ejabberd/modules/mod_pottymouth/blacklist_en.txt
charmaps:
default: /etc/ejabberd/modules/mod_pottymouth/charmap_en.txt
en: /etc/ejabberd/modules/mod_pottymouth/charmap_en.txt
#modules:
# mod_pottymouth:
# blacklists:
# default: /etc/ejabberd/modules/mod_pottymouth/blacklist_en.txt
# en: /etc/ejabberd/modules/mod_pottymouth/blacklist_en.txt
# charmaps:
# default: /etc/ejabberd/modules/mod_pottymouth/charmap_en.txt
# en: /etc/ejabberd/modules/mod_pottymouth/charmap_en.txt

View File

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

View File

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

View File

@ -1,2 +1,2 @@
modules:
mod_spam_filter: {}
#modules:
# mod_spam_filter: {}

View File

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

View File

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