V
V
Vladimir Yakovlev2018-09-07 10:44:12
htaccess
Vladimir Yakovlev, 2018-09-07 10:44:12

How to limit the number of requests from one IP?

The site has an insignificant load, with a huge margin, but sometimes the site is instantly overloaded and requests come from one IP.
How can I limit the number of requests from one IP per second for example?
Is it possible to do this via .htaccess for example?

Will using Captcha solve the problem?
It looks like the issue is trying to download the site.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
bkosun, 2018-09-07
@bkosun

Is it possible to do this via .htaccess for example?

You can't
Use Fail2ban , for example.

S
Sanes, 2018-09-07
@Sanes

Nginx Module ngx_http_limit_req_module
If you have virtual hosting with ISPmanager, in the www-domain settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question