mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-06 12:40:17 +00:00
NGINX Mainstream / Dev Tests (1)
This commit is contained in:
parent
0d297f6255
commit
d11476f8fa
1 changed files with 2 additions and 4 deletions
|
@ -4,12 +4,10 @@ server {
|
||||||
root /var/www/html;
|
root /var/www/html;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
charset UTF-8;
|
charset UTF-8;
|
||||||
|
index index.html;
|
||||||
|
|
||||||
# Bad Bot Blocker
|
# Bad Bot Blocker
|
||||||
include /etc/nginx/bots.d/ddos.conf;
|
include /etc/nginx/bots.d/ddos.conf;
|
||||||
include /etc/nginx/bots.d/blockbots.conf;
|
include /etc/nginx/bots.d/blockbots.conf;
|
||||||
|
|
||||||
location / {
|
|
||||||
root /var/www/html/;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue