mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
17 lines
No EOL
544 B
Text
17 lines
No EOL
544 B
Text
#######################################################################
|
|
|
|
# Author: Mitchell Krog <mitchellkrog@gmail.com> - https://github.com/mitchellkrogza/
|
|
|
|
# Include this in a vhost file within a server {} block using and include statement like below
|
|
|
|
# server {
|
|
# #Config stuff here
|
|
# include /etc/nginx/bots.d/blockbots.conf
|
|
# include /etc/nginx/bots.d/ddos.conf
|
|
# #Other config stuff here
|
|
# }
|
|
|
|
#######################################################################
|
|
|
|
limit_conn addr 200;
|
|
limit_req zone=flood burst=200 nodelay; |