add stanza size limit vars

This commit is contained in:
meaz 2021-05-13 19:28:40 +02:00
parent b2fbd643a9
commit ab7575baa6
Signed by: meaz
GPG key ID: CD7A47B2F1ED43B4
2 changed files with 6 additions and 2 deletions

View file

@ -32,7 +32,8 @@ prosody_s2s_auth: 'false'
prosody_s2s_encryption: 'true'
prosody_insecure_domains: 'server_insecure_address.com'
prosody_secure_domains: 'server_secure_address.com'
prosody_stanza_size_limit: '10000000'
prosody_c2s_stanza_size_limit: '256 * 1024'
prosody_s2s_stanza_size_limit: '512 * 1024'
prosody_storage: 'internal'
prosody_network_backend: "epoll"
prosody_http_host: "example.org"

View file

@ -87,6 +87,8 @@ pidfile = "/var/run/prosody/prosody.pid";
c2s_require_encryption = {{ prosody_c2s_encryption }}
c2s_stanza_size_limit = {{ prosody_c2s_stanza_size_limit }} -- 256 * 1024 -- 256kb
-- Force servers to use encrypted connections? This option will
-- prevent servers from authenticating unless they are using encryption.
@ -109,7 +111,8 @@ s2s_insecure_domains = { "{{ prosody_insecure_domains }}" }
--s2s_secure_domains = { "{{ prosody_secure_domains }}" }
s2s_stanza_size_limit = {{ prosody_stanza_size_limit }} -- 512 * 1000 -- 512kb
s2s_stanza_size_limit = {{ prosody_s2s_stanza_size_limit }} -- 512 * 1000 -- 512kb
-- Select the storage backend to use. By default Prosody uses flat files
-- in its configured data directory, but it also supports more backends