A
A
AusTiN2013-09-28 13:27:29
Nginx
AusTiN, 2013-09-28 13:27:29

IP blocking in nginx after a certain number of 404 requests (in a row or per hour)

Actually, there is a certain bunch of pictures with an incremental ID, I want to complicate the life of stupid brute-forcers. Is there any way to do this with nginx only?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rozhik, 2013-09-28
@rozhik

There is a good module
limit_conn_status 404
There are a lot of samples in Google according to the directive.

Z
zednight, 2013-09-30
@zednight

I did it through fail2ban

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question