mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +00:00
FXI Install Nginx Mainline PPA - Copy nginx.conf into place
This commit is contained in:
parent
b269f92a35
commit
b2e0c23043
1 changed files with 9 additions and 0 deletions
|
@ -247,6 +247,14 @@ getnginxversion () {
|
||||||
sudo nginx -v &> ${TRAVIS_BUILD_DIR}/.dev-tools/nginxv2.txt
|
sudo nginx -v &> ${TRAVIS_BUILD_DIR}/.dev-tools/nginxv2.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
copyNginxConf () {
|
||||||
|
printf "\n"
|
||||||
|
echo "${bold}${magenta}------------------------------"
|
||||||
|
echo "${bold}${magenta}Copy nginx.conf to /etc/nginx/"
|
||||||
|
echo "${bold}${magenta}------------------------------"
|
||||||
|
sudo cp ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/nginx.conf-newformat /etc/nginx/nginx.conf
|
||||||
|
}
|
||||||
|
|
||||||
# -----------------
|
# -----------------
|
||||||
# Trigger Functions
|
# Trigger Functions
|
||||||
# -----------------
|
# -----------------
|
||||||
|
@ -275,6 +283,7 @@ runsetupngxblocker1
|
||||||
reloadNginX
|
reloadNginX
|
||||||
waitforReload
|
waitforReload
|
||||||
activateLatestBlacklist
|
activateLatestBlacklist
|
||||||
|
copyNginxConf
|
||||||
runsetupngxblocker1
|
runsetupngxblocker1
|
||||||
reloadNginX
|
reloadNginX
|
||||||
waitforReload
|
waitforReload
|
||||||
|
|
Loading…
Add table
Reference in a new issue