You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.7 KiB
Plaintext
36 lines
1.7 KiB
Plaintext
2 years ago
|
#######################################################################
|
||
|
|
||
|
### VERSION INFORMATION #
|
||
|
###################################################
|
||
|
### Version: V4.2019.02
|
||
|
### Updated: 2019-06-24
|
||
|
###################################################
|
||
|
### VERSION INFORMATION ##
|
||
|
|
||
|
##############################################################################
|
||
|
# _ __ _ #
|
||
|
# / |/ /__ _(_)__ __ __ #
|
||
|
# / / _ `/ / _ \\ \ / #
|
||
|
# /_/|_/\_, /_/_//_/_\_\ #
|
||
|
# __/___/ __ ___ __ ___ __ __ #
|
||
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
||
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
||
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
||
|
# #
|
||
|
##############################################################################
|
||
|
|
||
|
# 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;
|