Projet

Général

Profil

Demande #4957 » ejabberd_yml.diff

Adrien Bourmault, 30/11/2020 12:07

Voir les différences:

ejabberd_new.yml 2020-11-30 11:56:08.001856233 +0100
39 39
## rotation: Disable ejabberd's internal log rotation, as the Debian package
40 40
## uses logrotate(8).
41 41
log_rotate_count: 0
42
log_rotate_date: ""
42
# log_rotate_date: "" (deprecated and has no effect anymore)
43 43

  
44 44
## hosts: Domains served by ejabberd.
45 45
## You can define one or several, for example:
......
56 56
  - "/etc/ejabberd/chapril.org-wildcard.ejabberd.pem"
57 57
  ## - "/etc/letsencrypt/live/*/*.pem"
58 58

  
59
# Disabling autorenewing certfiles by ejabberd
60
acme:
61
  auto: false
62

  
59 63
## TLS configuration
60 64
define_macro:
61 65
  'TLS_CIPHERS': "HIGH:!aNULL:!eNULL:!3DES:@STRENGTH"
......
109 113
      "/upload": mod_http_upload
110 114
      "/websocket": ejabberd_http_ws
111 115
      "/captcha": ejabberd_captcha
112
    captcha: true
116
      "/admin": ejabberd_web_admin
117
   # STUN/TURN UDP
118
  -
119
    port: 3478
120
    transport: udp
121
    module: ejabberd_stun
122
    use_turn: true
123
    ## The server's public IPv4 address:
124
    turn_ip: 88.99.233.240
125
  # STUN/TURN TCP
126
  -
127
    port: 3478
128
    module: ejabberd_stun
129
    use_turn: true
130
    ## The server's public IPv4 address:
131
    turn_ip: 88.99.233.240
132
  # TLS STUN/TURN TCP
133
  -
134
    port: 5349
135
    module: ejabberd_stun
136
    tls: true
137
    use_turn: true
138
    ## The server's public IPv4 address:
139
    turn_ip: 88.99.233.240
140
      
141
    #captcha: true (deprecated)
113 142
    ## register: true
114 143
    #    tls: true
115 144
    #protocol_options: 'TLS_OPTIONS'
116
    web_admin: true
145
    #web_admin: true (deprecated)
117 146

  
118 147

  
119 148
# This option limits the frequency of registration from a given IP or username.
......
162 191
### Limit CAPTCHA calls per minute for JID/IP to avoid DoS.
163 192
##
164 193
captcha_limit: 10
165
captcha_host: "https://xmpp.chapril.org"
194
#captcha_host: "https://xmpp.chapril.org" (deprecated)
195
captcha_url: "https://xmpp.chapril.org"
166 196

  
167 197
acl:
168 198
  admin:
......
239 269
  max_user_sessions: 10
240 270
  max_user_offline_messages:
241 271
    - 5000: admin
242
    - 100
272
    - 100: all # (must now be explicit)
243 273
  c2s_shaper:
244 274
    - none: admin
245 275
    - normal
......
280 310
        modules: all
281 311
        name: "status-addresses"
282 312
        urls: ["https://status.chapril.org"]
283
  mod_echo: {}
313
  # mod_echo: {} (deprecated and no effect)
284 314
  mod_fail2ban: {}
285 315
  mod_http_api: {}
286 316
  mod_last: {}
    (1-1/1)