Enable some modules when installed, if they work with reasonable default config
This commit is contained in:
parent
cc4702882f
commit
8499366bcc
|
@ -1,8 +1,9 @@
|
|||
# edit this file to fit your needs
|
||||
|
||||
# log all vhosts chats in /var/log/ejabberd/chat directory in html
|
||||
#modules:
|
||||
# mod_log_chat:
|
||||
modules:
|
||||
mod_log_chat:
|
||||
path: auto
|
||||
# path: /var/log/ejabberd/chat
|
||||
# format: html
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#modules:
|
||||
# mod_logsession:
|
||||
modules:
|
||||
mod_logsession:
|
||||
sessionlog: auto
|
||||
# sessionlog: "/var/log/ejabberd/session_@HOST@.log"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#modules:
|
||||
# mod_message_log:
|
||||
modules:
|
||||
mod_message_log:
|
||||
filename: auto
|
||||
# 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:
|
||||
/muclogs: mod_muc_log_http
|
||||
|
||||
#modules:
|
||||
modules:
|
||||
# mod_muc_log:
|
||||
# outdir: "/tmp/muclogs"
|
||||
# mod_muc_log_http: {}
|
||||
mod_muc_log_http: {}
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
#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,4 @@
|
|||
#modules:
|
||||
# mod_s2s_log:
|
||||
modules:
|
||||
mod_s2s_log:
|
||||
filename: auto
|
||||
# filename: "/var/log/ejabberd/s2s.log"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#modules:
|
||||
# mod_statsdx:
|
||||
modules:
|
||||
mod_statsdx:
|
||||
hooks: false
|
||||
# hooks: true
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
#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: auto
|
||||
#pixmaps_path: "/etc/ejabberd/priv/pixmaps"
|
||||
|
|
Loading…
Reference in New Issue