nginx-ultimate-bad-bot-blocker/Engintron_for_cPanel_WHM_Configuration_Example/bots.d/ddos.conf
Mitchell Krog 03d91fea48 Enginegtron for cPanel/WHM Configuration Example
This example includes a modified /utilities/https_vhosts.php file which will do the includes for you on any vhosts you create using Enginetron.
Please use this example ONLY as a guide.
2017-04-17 12:16:33 +02:00

17 lines
No EOL
544 B
Text
Executable file

#######################################################################
# 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;