F
F
freshcot2016-08-17 13:23:18
iptables
freshcot, 2016-08-17 13:23:18

What is the best way to block IP on the server?

There is a server with nginx and apache, the site is spinning on it. It is necessary to automatically block IP addresses that exceed a certain number of hits to the site per day, for example 10000. What is the best way to implement this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav, 2016-08-17
@MrBikus

You can implement your mechanism using LUA + nginx. In general, nginx seems to have a directive for this, look in the dock.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question