mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 10:09:49 +00:00
Update GHA workflow [skip travis]
This commit is contained in:
parent
2a6e115795
commit
9ce3af6fe1
2 changed files with 9 additions and 5 deletions
|
@ -1,10 +1,13 @@
|
|||
server {
|
||||
listen 80;
|
||||
|
||||
root /var/www/html;
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
server_name localhost;
|
||||
charset UTF-8;
|
||||
index index.html;
|
||||
root /var/www/html;
|
||||
|
||||
# Add index.php to the list if you are using PHP
|
||||
index index.html index.htm index.nginx-debian.html;
|
||||
|
||||
location / {
|
||||
root /var/www/html/;
|
||||
|
|
|
@ -112,8 +112,9 @@ printf "\n"
|
|||
echo "${bold}${yellow}---------------------"
|
||||
echo "${bold}${yellow}Setup Vhost for Nginx"
|
||||
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.vhost
|
||||
sudo rm /etc/nginx/sites-available/default
|
||||
sudo cp ./dev-tools/default.vhost /etc/nginx/sites-available/default
|
||||
sudo ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default
|
||||
sudo cp ./dev-tools/index.html /var/www/html/index.html
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue