Rate Limiting
Configure rate limiting to protect your Chatwoot installation from abuse
To protect the system from abusive requests, Chatwoot makes use of rack_attack gem.
You could customize the configuration to suit your needs by updating, config/initializers/rack_attack.rb
Default Rate Limits
- Chatwoot will throttles requests by IP at
60rpm, Unless the request is from an allowed IP['127.0.0.1', '::1'] - Signup Requests are limited by IP at
5 requestsper5 minutes. - SignIn Requests are limited by IP at
5 requestsper20 seconds. - SignIn Requests are limited by email address at
20 requestsper5 minutesfor a specific email. - Reset Password Requests are limited at
5 requestsper1 hourfor a specific email.
Attachment Restrictions
Contact/Inbox Avatarattachment file types are limited to jpeg, gif and png.Contact/Inbox Avatarattachment file size is limited to 15MB.Website Channelmessage attachments are limited to types ['image/png', 'image/jpeg', 'image/gif', 'image/bmp', 'image/tiff', 'application/pdf', 'audio/mpeg', 'video/mp4', 'audio/ogg', 'text/csv']Website Channelmessage attachments are limited to 40MB size limit.
Disabling Rack attack on your instance
You can control the behaviour of rack attack in your instance via the following environment variables.
Built with
Show your support! Star us on GitHub ⭐️