mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-03 02:59:57 +00:00
parent
aa7baae935
commit
aa1d1ecfa2
1 changed files with 4 additions and 4 deletions
|
@ -124,8 +124,8 @@ _start9="# START NIBBLER ### DO NOT EDIT THIS LINE AT ALL ###"
|
||||||
_end9="# END NIBBLER ### DO NOT EDIT THIS LINE AT ALL ###"
|
_end9="# END NIBBLER ### DO NOT EDIT THIS LINE AT ALL ###"
|
||||||
_start10="# START CLOUDFLARE IP RANGES ### DO NOT EDIT THIS LINE AT ALL ###"
|
_start10="# START CLOUDFLARE IP RANGES ### DO NOT EDIT THIS LINE AT ALL ###"
|
||||||
_end10="# END CLOUDFLARE IP RANGES ### DO NOT EDIT THIS LINE AT ALL ###"
|
_end10="# END CLOUDFLARE IP RANGES ### DO NOT EDIT THIS LINE AT ALL ###"
|
||||||
_versionmarkerstart="### VERSION INFORMATION #"
|
_startmarker="### VERSION INFORMATION #"
|
||||||
_versionmarkerend="### VERSION INFORMATION ##"
|
_endmarker="### VERSION INFORMATION ##"
|
||||||
|
|
||||||
# **********************************
|
# **********************************
|
||||||
# SET ALLOW OR DENY ACTION VARIABLES
|
# SET ALLOW OR DENY ACTION VARIABLES
|
||||||
|
@ -407,9 +407,9 @@ rm $_inputdb10
|
||||||
LASTUPDATEIFS=$IFS
|
LASTUPDATEIFS=$IFS
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
now="$(date)"
|
now="$(date)"
|
||||||
echo $_versionmarkerstart >> $_tmpnginxA
|
echo $_startmarker >> $_tmpnginxA
|
||||||
printf "###################################################\n### Version: "$MY_GIT_TAG"\n### Updated: "$now"\n### Bad Referrer Count: "$BAD_REFERRERS"\n### Bad Bot Count: "$BAD_BOTS"\n###################################################\n" >> $_tmpnginxA
|
printf "###################################################\n### Version: "$MY_GIT_TAG"\n### Updated: "$now"\n### Bad Referrer Count: "$BAD_REFERRERS"\n### Bad Bot Count: "$BAD_BOTS"\n###################################################\n" >> $_tmpnginxA
|
||||||
echo $_versionmarkerend >> $_tmpnginxA
|
echo $_endmarker >> $_tmpnginxA
|
||||||
IFS=$LASTUPDATEIFS
|
IFS=$LASTUPDATEIFS
|
||||||
mv $_tmpnginxA $_inputdbA
|
mv $_tmpnginxA $_inputdbA
|
||||||
ed -s $_inputdbA<<\IN
|
ed -s $_inputdbA<<\IN
|
||||||
|
|
Loading…
Add table
Reference in a new issue