mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
Updated Readme
This commit is contained in:
parent
0a13dd4e4a
commit
d7d6cf060c
1 changed files with 4 additions and 4 deletions
|
@ -155,15 +155,15 @@ sudo nano /etc/nginx/nginx.conf
|
|||
|
||||
#####Add the following rate limiting zones
|
||||
|
||||
limit_req_zone $ratelimited zone=flood:50m rate=90r/s;
|
||||
limit_conn_zone $ratelimited zone=addr:50m;
|
||||
`limit_req_zone $ratelimited zone=flood:50m rate=90r/s;
|
||||
limit_conn_zone $ratelimited zone=addr:50m;`
|
||||
|
||||
####Third Step:
|
||||
|
||||
Open a site config file for Nginx (just one for now) and add the following lines
|
||||
|
||||
include /etc/nginx/bots.d/blockbots.conf;
|
||||
include /etc/nginx/bots.d/ddos.conf;
|
||||
`include /etc/nginx/bots.d/blockbots.conf;
|
||||
include /etc/nginx/bots.d/ddos.conf;`
|
||||
|
||||
####Fourth Step:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue