prosody: add ping module to auth domain (#1624)
This commit is contained in:
committed by
GitHub
parent
261caa3d6d
commit
eb91893895
@@ -274,6 +274,7 @@ VirtualHost "{{ $XMPP_AUTH_DOMAIN }}"
|
||||
}
|
||||
modules_enabled = {
|
||||
"limits_exception";
|
||||
"ping";
|
||||
}
|
||||
authentication = "internal_hashed"
|
||||
|
||||
@@ -281,6 +282,7 @@ VirtualHost "{{ $XMPP_AUTH_DOMAIN }}"
|
||||
VirtualHost "{{ $XMPP_RECORDER_DOMAIN }}"
|
||||
modules_enabled = {
|
||||
"ping";
|
||||
"smacks";
|
||||
}
|
||||
authentication = "internal_hashed"
|
||||
{{ end }}
|
||||
@@ -340,9 +342,9 @@ Component "{{ $XMPP_MUC_DOMAIN }}" "muc"
|
||||
-- List of regular expressions for IP addresses that are not limited by this module.
|
||||
rate_limit_whitelist = {
|
||||
"127.0.0.1";
|
||||
{{ range $index, $cidr := (splitList "," $RATE_LIMIT_ALLOW_RANGES) -}}
|
||||
{{ range $index, $cidr := (splitList "," $RATE_LIMIT_ALLOW_RANGES) }}
|
||||
"{{ $cidr }}";
|
||||
{{ end -}}
|
||||
{{ end }}
|
||||
};
|
||||
|
||||
rate_limit_whitelist_jids = {
|
||||
@@ -354,7 +356,7 @@ Component "{{ $XMPP_MUC_DOMAIN }}" "muc"
|
||||
-- The size of the cache that saves state for IP addresses
|
||||
rate_limit_cache_size = {{ $RATE_LIMIT_CACHE_SIZE }};
|
||||
|
||||
muc_room_cache_size = 1000
|
||||
muc_room_cache_size = 10000
|
||||
muc_room_locking = false
|
||||
muc_room_default_public_jids = true
|
||||
{{ if .Env.XMPP_MUC_CONFIGURATION -}}
|
||||
@@ -391,6 +393,8 @@ Component "avmoderation.{{ $XMPP_DOMAIN }}" "av_moderation_component"
|
||||
Component "lobby.{{ $XMPP_DOMAIN }}" "muc"
|
||||
storage = "memory"
|
||||
restrict_room_creation = true
|
||||
muc_room_allow_persistent = false
|
||||
muc_room_cache_size = 10000
|
||||
muc_room_locking = false
|
||||
muc_room_default_public_jids = true
|
||||
modules_enabled = {
|
||||
@@ -408,8 +412,10 @@ Component "lobby.{{ $XMPP_DOMAIN }}" "muc"
|
||||
Component "breakout.{{ $XMPP_DOMAIN }}" "muc"
|
||||
storage = "memory"
|
||||
restrict_room_creation = true
|
||||
muc_room_cache_size = 10000
|
||||
muc_room_locking = false
|
||||
muc_room_default_public_jids = true
|
||||
muc_room_allow_persistent = false
|
||||
modules_enabled = {
|
||||
"muc_meeting_id";
|
||||
{{ if $ENABLE_SUBDOMAINS -}}
|
||||
|
||||
Reference in New Issue
Block a user