mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +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
|
||||
}
|
||||
|
||||
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
|
||||
# -----------------
|
||||
|
@ -275,6 +283,7 @@ runsetupngxblocker1
|
|||
reloadNginX
|
||||
waitforReload
|
||||
activateLatestBlacklist
|
||||
copyNginxConf
|
||||
runsetupngxblocker1
|
||||
reloadNginX
|
||||
waitforReload
|
||||
|
|
Loading…
Add table
Reference in a new issue