prosody.cfg.lua.dist
changeset 12341 fea2d8fff5c6
parent 12340 a8367f169740
child 12342 677ea3cc9c84
equal deleted inserted replaced
12340:a8367f169740 12341:fea2d8fff5c6
   120 -- Even if you disable s2s_secure_auth, you can still require valid
   120 -- Even if you disable s2s_secure_auth, you can still require valid
   121 -- certificates for some domains by specifying a list here.
   121 -- certificates for some domains by specifying a list here.
   122 
   122 
   123 --s2s_secure_domains = { "jabber.org" }
   123 --s2s_secure_domains = { "jabber.org" }
   124 
   124 
   125 -- Enable rate limits for incoming client and server connections
   125 -- Enable rate limits for incoming client and server connections. These help
       
   126 -- protect from excessive resource consumption and denial-of-service attacks.
   126 
   127 
   127 limits = {
   128 limits = {
   128 	c2s = {
   129 	c2s = {
   129 		rate = "10kb/s";
   130 		rate = "10kb/s";
   130 	};
   131 	};
   222 --Component "share.example.com" "http_file_share"
   223 --Component "share.example.com" "http_file_share"
   223 
   224 
   224 ---Set up an external component (default component port is 5347)
   225 ---Set up an external component (default component port is 5347)
   225 --
   226 --
   226 -- External components allow adding various services, such as gateways/
   227 -- External components allow adding various services, such as gateways/
   227 -- transports to other networks like ICQ, MSN and Yahoo. For more info
   228 -- bridges to non-XMPP networks and services. For more info
   228 -- see: https://prosody.im/doc/components#adding_an_external_component
   229 -- see: https://prosody.im/doc/components#adding_an_external_component
   229 --
   230 --
   230 --Component "gateway.example.com"
   231 --Component "gateway.example.com"
   231 --	component_secret = "password"
   232 --	component_secret = "password"
   232 
   233