mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
Bring Nginx Test 2 Back Online
This commit is contained in:
parent
5616ad794d
commit
8ebc9af274
2 changed files with 16 additions and 15 deletions
|
@ -92,21 +92,14 @@ sudo ln -s /etc/nginx/sites-available/default.vhost /etc/nginx/sites-enabled/def
|
||||||
sudo cp ${TRAVIS_BUILD_DIR}/.dev-tools/index.php /var/www/html/index.php
|
sudo cp ${TRAVIS_BUILD_DIR}/.dev-tools/index.php /var/www/html/index.php
|
||||||
printf '\n%s\n%s\n%s\n\n' "#####################################" "Finished Nginx Setup for Nginx Test 2" "#####################################"
|
printf '\n%s\n%s\n%s\n\n' "#####################################" "Finished Nginx Setup for Nginx Test 2" "#####################################"
|
||||||
|
|
||||||
# ***********************************************
|
# *********************************************************
|
||||||
# Fetch our install-ngxblocker file from the repo
|
# Fetch our install, updater and setup scriptsfrom the repo
|
||||||
# ***********************************************
|
# *********************************************************
|
||||||
|
|
||||||
printf '\n%s\n%s\n%s\n\n' "######################################" "Fetch install-ngxblocker from the repo" "######################################"
|
printf '\n%s\n%s\n%s\n\n' "######################################" "Fetch setup and installer scripts from the repo" "######################################"
|
||||||
sudo wget https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/install-ngxblocker -O /usr/sbin/install-ngxblocker
|
sudo wget https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/install-ngxblocker -O /usr/sbin/install-ngxblocker
|
||||||
sudo chmod +x /usr/sbin/install-ngxblocker
|
sudo wget https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/setup-ngxblocker -O /usr/sbin/setup-ngxblocker
|
||||||
|
sudo wget https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/update-ngxblocker -O /usr/sbin/update-ngxblocker
|
||||||
# **********************
|
|
||||||
# Run Install-NgxBlocker
|
|
||||||
# **********************
|
|
||||||
|
|
||||||
printf '\n%s\n%s\n%s\n\n' "######################" "Run install-ngxblocker" "######################"
|
|
||||||
cd /usr/sbin
|
|
||||||
sudo bash ./install-ngxblocker -x -c /usr/local/nginx/conf.d -b /usr/local/nginx/bots.d
|
|
||||||
|
|
||||||
# **************************************************
|
# **************************************************
|
||||||
# Set our install and setup scripts to be executable
|
# Set our install and setup scripts to be executable
|
||||||
|
@ -117,6 +110,14 @@ sudo chmod +x /usr/sbin/install-ngxblocker
|
||||||
sudo chmod +x /usr/sbin/setup-ngxblocker
|
sudo chmod +x /usr/sbin/setup-ngxblocker
|
||||||
sudo chmod +x /usr/sbin/update-ngxblocker
|
sudo chmod +x /usr/sbin/update-ngxblocker
|
||||||
|
|
||||||
|
# **********************
|
||||||
|
# Run Install-NgxBlocker
|
||||||
|
# **********************
|
||||||
|
|
||||||
|
printf '\n%s\n%s\n%s\n\n' "######################" "Run install-ngxblocker" "######################"
|
||||||
|
cd /usr/sbin
|
||||||
|
sudo bash ./install-ngxblocker -x -c /usr/local/nginx/conf.d -b /usr/local/nginx/bots.d
|
||||||
|
|
||||||
# ********************
|
# ********************
|
||||||
# Run setup-ngxblocker
|
# Run setup-ngxblocker
|
||||||
# ********************
|
# ********************
|
||||||
|
|
|
@ -42,8 +42,8 @@ script:
|
||||||
- bash .dev-tools/run-curl-tests-1.sh
|
- bash .dev-tools/run-curl-tests-1.sh
|
||||||
- bash .dev-tools/install-nginx-testing-of-changes.sh
|
- bash .dev-tools/install-nginx-testing-of-changes.sh
|
||||||
- bash .dev-tools/run-curl-tests-testing-of-changes.sh
|
- bash .dev-tools/run-curl-tests-testing-of-changes.sh
|
||||||
#- bash .dev-tools/install-nginx-2.sh
|
- bash .dev-tools/install-nginx-2.sh
|
||||||
#- bash .dev-tools/run-curl-tests-2.sh
|
- bash .dev-tools/run-curl-tests-2.sh
|
||||||
#- bash .dev-tools/install-nginx-3.sh
|
#- bash .dev-tools/install-nginx-3.sh
|
||||||
#- bash .dev-tools/run-curl-tests-3.sh
|
#- bash .dev-tools/run-curl-tests-3.sh
|
||||||
#- bash .dev-tools/install-nginx-4.sh
|
#- bash .dev-tools/install-nginx-4.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue