Modules that require configuration, provide it commented (#303)
This commit is contained in:
parent
4aa09c552c
commit
c9084fae66
|
@ -1,2 +1,2 @@
|
|||
modules:
|
||||
mod_cron: {}
|
||||
#modules:
|
||||
# mod_cron: {}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
modules:
|
||||
mod_default_contacts:
|
||||
contacts: []
|
||||
#modules:
|
||||
# mod_default_contacts:
|
||||
# contacts: []
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
modules:
|
||||
mod_default_rooms:
|
||||
rooms: []
|
||||
#modules:
|
||||
# mod_default_rooms:
|
||||
# rooms: []
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
modules:
|
||||
mod_deny_omemo: {}
|
||||
#modules:
|
||||
# mod_deny_omemo: {}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
modules:
|
||||
mod_grafite:
|
||||
statsdhost: "carbonr.xmpp.com.br"
|
||||
statsdport: 8125
|
||||
|
||||
#modules:
|
||||
# mod_grafite:
|
||||
# statsdhost: "carbonr.xmpp.com.br"
|
||||
# statsdport: 8125
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
modules:
|
||||
mod_logsession:
|
||||
sessionlog: "/var/log/ejabberd/session_@HOST@.log"
|
||||
#modules:
|
||||
# mod_logsession:
|
||||
# sessionlog: "/var/log/ejabberd/session_@HOST@.log"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
modules:
|
||||
mod_message_log:
|
||||
filename: "/var/log/ejabberd/message.log"
|
||||
#modules:
|
||||
# mod_message_log:
|
||||
# filename: "/var/log/ejabberd/message.log"
|
||||
|
|
|
@ -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: {}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
modules:
|
||||
mod_post_log:
|
||||
url: "http://foo.bar.com/messages"
|
||||
#modules:
|
||||
# mod_post_log:
|
||||
# url: "http://foo.bar.com/messages"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
modules:
|
||||
mod_s2s_log:
|
||||
filename: "/var/log/ejabberd/s2s.log"
|
||||
#modules:
|
||||
# mod_s2s_log:
|
||||
# filename: "/var/log/ejabberd/s2s.log"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
modules:
|
||||
mod_spam_filter: {}
|
||||
#modules:
|
||||
# mod_spam_filter: {}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
modules:
|
||||
mod_statsdx:
|
||||
hooks: true
|
||||
#modules:
|
||||
# mod_statsdx:
|
||||
# hooks: true
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue