ddos.conf 385 B

1234567891011121314
  1. # Include this in a vhost file within a server {} block using and include statement like below
  2. # server {
  3. # #Config stuff here
  4. # include /etc/nginx/bots.d/blockbots.conf
  5. # include /etc/nginx/bots.d/ddos.conf
  6. # #Other config stuff here
  7. # }
  8. #######################################################################
  9. limit_conn addr 200;
  10. limit_req zone=flood burst=200 nodelay;