LsRecaptcha max_conn


Well-Known Member

I have a question regarding the max_conn directive. Does it apply to connections from the requesting IP address or to the all IPs concurrent connections?

If it's the latter case, what can I do to enable automatic LsRecaptcha based on specific conditions when a requesting IP hits certain thresholds?

My goal is to protect my website from crawlers, bad bots, and DoS attacks. Limiting dynamic requests per second doesn't work as expected because it may block real users if there are too many requests. Instead, I want to limit the impact of bad bots and DoS attacks by using LsRecaptcha.

Your assistance is greatly appreciated.



Well-Known Member
You should use CloudFlare WAF to protect your site from unwanted access. Blocking unwanted requests by your host is not for free and causes extra load.