2 changed files with 7 additions and 1 deletions
@ -1,6 +1,12 @@ |
|||||
sudo apt install nginx |
sudo apt install nginx |
||||
sudo systemctl stop nginx |
sudo systemctl stop nginx |
||||
sudo rm /etc/nginx/sites-available/default |
sudo rm /etc/nginx/sites-available/default |
||||
|
sudo rm /etc/nginx/sites-enabled/default |
||||
|
sudo rm /var/www/html |
||||
|
|
||||
|
sudo cp -r /home/pipboy/Pipboy3Kmark4/pipboyUI/dist/pipboy-ui /var/www/html |
||||
|
|
||||
sudo ln -s ~/Pipboy3Kmark4/pipboyWEB/nginx.conf /etc/nginx/sites-available/pipboy |
sudo ln -s ~/Pipboy3Kmark4/pipboyWEB/nginx.conf /etc/nginx/sites-available/pipboy |
||||
|
sudo ln -s ~/Pipboy3Kmark4/pipboyWEB/nginx.conf /etc/nginx/sites-enabled/pipboy |
||||
sudo nginx -t |
sudo nginx -t |
||||
sudo systemctl start nginx |
sudo systemctl start nginx |
||||
Loading…
Reference in new issue