Update GHA workflow [skip travis]

This commit is contained in:
Mitchell Krog 2021-07-04 15:57:46 +02:00
parent 2a6e115795
commit 9ce3af6fe1
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43
2 changed files with 9 additions and 5 deletions

View file

@ -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/;

View file

@ -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
}