I'd like to delay authentication failure attempts to help mitigate distributed authentication scanning. If my backend returns 403 to an authentication attempt, I'd like nginx to wait some set amount of time before returning the result.

Is this possible? This question is similar to How to insert a delay in response with nginx?, but the use-case is different and the responses there basically amount to "Do what you're trying to do a different way."

link|improve this question
This is not what nginx was designed to do, but you could probably write a nginx module ... – sendmoreinfo Mar 5 at 7:08
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.