prosody: fix ranges definition (#1537)

pull/1538/head
Aaron van Meerten 2 years ago committed by GitHub
parent 39de818cb9
commit 9fc8ffaee9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua

@ -41,7 +41,7 @@
{{ $RATE_LIMIT_LOGIN_RATE := .Env.PROSODY_RATE_LIMIT_LOGIN_RATE | default "3" }}
{{ $RATE_LIMIT_SESSION_RATE := .Env.PROSODY_RATE_LIMIT_SESSION_RATE | default "200" }}
{{ $RATE_LIMIT_TIMEOUT := .Env.PROSODY_RATE_LIMIT_TIMEOUT | default "60" }}
{{ $RATE_LIMIT_ALLOW_RANGES := (splitList "," .Env.PROSODY_RATE_LIMIT_ALLOW_RANGES) | default ["10.0.0.0/8"] }}
{{ $RATE_LIMIT_ALLOW_RANGES := (splitList "," .Env.PROSODY_RATE_LIMIT_ALLOW_RANGES) | default (splitList "," "10.0.0.0/8") }}
{{ $RATE_LIMIT_CACHE_SIZE := .Env.PROSODY_RATE_LIMIT_CACHE_SIZE | default "10000" }}
{{ $ENV := .Env -}}

Loading…
Cancel
Save