Nginx - preventing slow HTTP DoS attacks
<p>I need to preventing slow HTTP DoS attacks on Nginx. I usually use following configuration on Apache, using mod_reqtimeout:</p>

<pre><code>&lt;IfModule mod_reqtimeout.c&gt;
  RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500
&lt;/IfModule&gt;
</code></pre>

<p>How to do it using Nginx?</p>