mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
Update GHA workflow [skip travis]
This commit is contained in:
parent
608ae06e63
commit
5f21dd0a8e
1 changed files with 5 additions and 0 deletions
|
@ -109,6 +109,9 @@ echo "${bold}${yellow}-------------------------------------------"
|
|||
sudo mv /etc/nginx/sites-available/default /etc/nginx/sites-available/default.vhost
|
||||
sudo rm /etc/nginx/sites-enabled/*
|
||||
sudo rm /var/www/html/*
|
||||
ls -la /etc/nginx/sites-available/
|
||||
ls -la /etc/nginx/sites-enabled/
|
||||
|
||||
printf "\n"
|
||||
echo "${bold}${yellow}---------------------"
|
||||
echo "${bold}${yellow}Setup Vhost for Nginx"
|
||||
|
@ -117,6 +120,8 @@ echo "${bold}${yellow}---------------------"
|
|||
#sudo cp ./dev-tools/default.vhost /etc/nginx/sites-available/default.vhost
|
||||
sudo ln -s /etc/nginx/sites-available/default.vhost /etc/nginx/sites-enabled/default
|
||||
sudo cp ./dev-tools/index.html /var/www/html/index.html
|
||||
ls -la /etc/nginx/sites-available/
|
||||
ls -la /etc/nginx/sites-enabled/
|
||||
}
|
||||
|
||||
makeScriptsExecutable () {
|
||||
|
|
Loading…
Add table
Reference in a new issue