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: #modules:
mod_cron: {} # mod_cron: {}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,10 +1,10 @@
# 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: "/var/log/ejabberd/chat" # path: "/var/log/ejabberd/chat"
format: html # format: html
# log only vh1.myjabberserver.net vhost in /var/log/ejabberd/vh1.myjabberserver.net directory # log only vh1.myjabberserver.net vhost in /var/log/ejabberd/vh1.myjabberserver.net directory

View File

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

View File

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

View File

@ -1,3 +1,3 @@
modules: #modules:
mod_message_log: # mod_message_log:
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 # "/muclog": 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,3 +1,3 @@
modules: #modules:
mod_post_log: # mod_post_log:
url: "http://foo.bar.com/messages" # url: "http://foo.bar.com/messages"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,11 +1,11 @@
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: "/etc/ejabberd/priv/pixmaps"