Referers / Bots (+/-)

This commit is contained in:
Mitchell Krog UB1 2017-06-06 11:58:22 +02:00
parent ea5ec723cd
commit bc3bf8480b
4 changed files with 9 additions and 13 deletions

View file

@ -4,9 +4,9 @@
### Version Information #
############################################
### Version: V3.2017.06.546
### Updated: Tue Jun 6 11:11:22 SAST 2017
### Generated In: 0.0273530483246 seconds
### Version: V3.2017.06
### Updated: Tue Jun 6 11:58:22 SAST 2017
### Generated In: 0.304285287857 seconds
############################################
### Version Information ##

View file

@ -4,9 +4,9 @@
### Version Information #
############################################
### Version: V3.2017.06.549
### Updated: Tue Jun 6 11:33:55 SAST 2017
### Generated In: 0.00355124473572 seconds
### Version: V3.2017.06
### Updated: Tue Jun 6 11:58:22 SAST 2017
### Generated In: 0.304285287857 seconds
############################################
### Version Information ##

View file

@ -30,7 +30,7 @@ git add $TRAVIS_BUILD_DIR/README.md
git add $TRAVIS_BUILD_DIR/AUTO-CONFIGURATION.md
git add $TRAVIS_BUILD_DIR/MANUAL-CONFIGURATION.md
git add $TRAVIS_BUILD_DIR/conf.d/globalblacklist.conf
git add $TRAVIS_BUILD_DIR/Engintron_for_cPanel_WHM_Configuration_Example/etc/nginx/conf.d/globalblacklist.conf
git add $TRAVIS_BUILD_DIR/_sample_config_files/Engintron_for_cPanel_WHM_Configuration_Example/etc/nginx/conf.d/globalblacklist.conf
git commit -am "V3.$YEAR.$MONTH.$TRAVIS_BUILD_NUMBER [ci skip]"
# Travis now moves to the before_deploy: section of .travis.yml

View file

@ -13,10 +13,6 @@ MY_GIT_TAG=V3.$versionyear.$versionmonth.$TRAVIS_BUILD_NUMBER
_inputdbA=/tmp/lastupdated.db
# Declare Nginx template and temp variables
#_nginx=/home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/conf.d/globalblacklist.conf
#_nginx2=/home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/Engintron_for_cPanel_WHM_Configuration_Example/etc/nginx/conf.d/globalblacklist.conf
_tmpnginxA=tmpnginxA
_tmpnginxB=tmpnginxB
@ -67,13 +63,13 @@ ed -s $_inputdbA<<\IN
1,/### Version Information #/d
/### Version Information ##/,$d
,d
.r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/Engintron_for_cPanel_WHM_Configuration_Example/etc/nginx/conf.d/globalblacklist.conf
.r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/_sample_config_files/Engintron_for_cPanel_WHM_Configuration_Example/etc/nginx/conf.d/globalblacklist.conf
/### Version Information #/x
.t.
.,/### 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/Engintron_for_cPanel_WHM_Configuration_Example/etc/nginx/conf.d/globalblacklist.conf
w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/_sample_config_files/Engintron_for_cPanel_WHM_Configuration_Example/etc/nginx/conf.d/globalblacklist.conf
q
IN
rm $_inputdbA