mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
Fix Travis CI Build Errors (strange cat errors that did not exist before causing generation of globalblacklist.conf to fail)
This commit is contained in:
parent
6b317c8ed7
commit
2d1e72c323
2 changed files with 9 additions and 10 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 ###"
|
||||
_start10="# START CLOUDFLARE IP RANGES ### DO NOT EDIT THIS LINE AT ALL ###"
|
||||
_end10="# END CLOUDFLARE IP RANGES ### DO NOT EDIT THIS LINE AT ALL ###"
|
||||
_startmarker="### Version Information #"
|
||||
_endmarker="### Version Information ##"
|
||||
_startmarker="### VERSION INFORMATION #"
|
||||
_endmarker="### VERSION INFORMATION ##"
|
||||
|
||||
# **********************************
|
||||
# SET ALLOW OR DENY ACTION VARIABLES
|
||||
|
@ -414,13 +414,13 @@ echo $_endmarker >> $_tmpnginxA
|
|||
IFS=$LASTUPDATEIFS
|
||||
mv $_tmpnginxA $_inputdbA
|
||||
ed -s $_inputdbA<<\IN
|
||||
1,/### Version Information #/d
|
||||
/### Version Information ##/,$d
|
||||
1,/### VERSION INFORMATION #/d
|
||||
/### VERSION INFORMATION ##/,$d
|
||||
,d
|
||||
.r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/travisCI/globalblacklist.template
|
||||
/### Version Information #/x
|
||||
/### VERSION INFORMATION #/x
|
||||
.t.
|
||||
.,/### Version Information ##/-d
|
||||
.,/### VERSION INFORMATION ##/-d
|
||||
#,p
|
||||
#,p used to print output replaced with w below to write
|
||||
w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/travisCI/globalblacklist.template
|
||||
|
|
|
@ -2,12 +2,11 @@
|
|||
### THE ULTIMATE NGINX BAD BOT BLOCKER
|
||||
### **********************************
|
||||
|
||||
### Version Information #
|
||||
### Versio I formatio #
|
||||
### VERSION INFORMATION #
|
||||
###################################################
|
||||
### Version: V3.2017.06.624
|
||||
### Updated: Wed Ju### Versio I formatio ##
|
||||
### Version Information ##
|
||||
###################################################
|
||||
### VERSION INFORMATION ##
|
||||
|
||||
### This file implements a checklist / blacklist for good user agents, bad user agents and
|
||||
### bad referrers. It also has whitelisting for your own IP's and known good IP Ranges
|
||||
|
|
Loading…
Add table
Reference in a new issue