title: Nginx: How to properly setup rate limiting?
body: <p>After hard google search i couldn't find good information how to limit rate with nginx and debian.</p>
  
  <p>I'm not sure where should i add that filter nginx.conf or default.
  I added this to default not sure if it's right:</p>
  
  <pre><code>limit_req_zone  $binary_remote_addr  zone=one:10m   rate=1r/s;
  server {
     server_name Realesta74.net;
  
     location / {
       limit_req zone=one burst=5;
    }
  </code></pre>
  
  <p>}</p>
  
  <p>Is that fine?
  And also how to test it?</p>