last fix ?
This commit is contained in:
parent
2fe05d3fd3
commit
8f9dcc5ab8
|
@ -0,0 +1 @@
|
|||
map $http_referer $bad_referrer { hostnames; default no; }
|
|
@ -0,0 +1 @@
|
|||
map $http_user_agent $bad_user_agent { default no; }
|
|
@ -1,9 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ ! -f "/etc/nginx/map-referrer.conf" ] ; then
|
||||
echo "" > /etc/nginx/map-referrer.conf
|
||||
fi
|
||||
|
||||
BLACKLIST="$(curl -s https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/_generator_lists/bad-referrers.list)"
|
||||
DATA=""
|
||||
IFS=$'\n'
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ ! -f "/etc/nginx/map-user-agent.conf" ] ; then
|
||||
echo "" > /etc/nginx/map-user-agent.conf
|
||||
fi
|
||||
|
||||
BLACKLIST="$(curl -s https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/_generator_lists/bad-user-agents.list)"
|
||||
DATA=""
|
||||
IFS=$'\n'
|
||||
|
|
Loading…
Reference in New Issue