Demande #4957 » ejabberd_yml.diff
ejabberd_new.yml 2020-11-30 11:56:08.001856233 +0100 | ||
---|---|---|
## rotation: Disable ejabberd's internal log rotation, as the Debian package
|
||
## uses logrotate(8).
|
||
log_rotate_count: 0
|
||
log_rotate_date: ""
|
||
# log_rotate_date: "" (deprecated and has no effect anymore)
|
||
## hosts: Domains served by ejabberd.
|
||
## You can define one or several, for example:
|
||
... | ... | |
- "/etc/ejabberd/chapril.org-wildcard.ejabberd.pem"
|
||
## - "/etc/letsencrypt/live/*/*.pem"
|
||
# Disabling autorenewing certfiles by ejabberd
|
||
acme:
|
||
auto: false
|
||
## TLS configuration
|
||
define_macro:
|
||
'TLS_CIPHERS': "HIGH:!aNULL:!eNULL:!3DES:@STRENGTH"
|
||
... | ... | |
"/upload": mod_http_upload
|
||
"/websocket": ejabberd_http_ws
|
||
"/captcha": ejabberd_captcha
|
||
captcha: true
|
||
"/admin": ejabberd_web_admin
|
||
# STUN/TURN UDP
|
||
-
|
||
port: 3478
|
||
transport: udp
|
||
module: ejabberd_stun
|
||
use_turn: true
|
||
## The server's public IPv4 address:
|
||
turn_ip: 88.99.233.240
|
||
# STUN/TURN TCP
|
||
-
|
||
port: 3478
|
||
module: ejabberd_stun
|
||
use_turn: true
|
||
## The server's public IPv4 address:
|
||
turn_ip: 88.99.233.240
|
||
# TLS STUN/TURN TCP
|
||
-
|
||
port: 5349
|
||
module: ejabberd_stun
|
||
tls: true
|
||
use_turn: true
|
||
## The server's public IPv4 address:
|
||
turn_ip: 88.99.233.240
|
||
|
||
#captcha: true (deprecated)
|
||
## register: true
|
||
# tls: true
|
||
#protocol_options: 'TLS_OPTIONS'
|
||
web_admin: true
|
||
#web_admin: true (deprecated)
|
||
# This option limits the frequency of registration from a given IP or username.
|
||
... | ... | |
### Limit CAPTCHA calls per minute for JID/IP to avoid DoS.
|
||
##
|
||
captcha_limit: 10
|
||
captcha_host: "https://xmpp.chapril.org"
|
||
#captcha_host: "https://xmpp.chapril.org" (deprecated)
|
||
captcha_url: "https://xmpp.chapril.org"
|
||
acl:
|
||
admin:
|
||
... | ... | |
max_user_sessions: 10
|
||
max_user_offline_messages:
|
||
- 5000: admin
|
||
- 100
|
||
- 100: all # (must now be explicit)
|
||
c2s_shaper:
|
||
- none: admin
|
||
- normal
|
||
... | ... | |
modules: all
|
||
name: "status-addresses"
|
||
urls: ["https://status.chapril.org"]
|
||
mod_echo: {}
|
||
# mod_echo: {} (deprecated and no effect)
|
||
mod_fail2ban: {}
|
||
mod_http_api: {}
|
||
mod_last: {}
|