Answer the question
In order to leave comments, you need to log in
MySQL not accepting requests during http flood?
On my VDS, when there is an http flood on the machine from an attacker, mysql is so loaded with requests that it does not accept connections. How can I make nginx reject requests from all clients during an http flood, but at the same time mysql works as expected, accepting requests, and not rebooting, since in the "background" it is connected to another server, where a constant connection to the database is important?
Answer the question
In order to leave comments, you need to log in
Make a limit of hits by ip address. For example, pieces 5 requests per second. configured in nginx
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question