Browse Source

configure nginx

tags/v1.0
Nico Rey 4 years ago
parent
commit
f415f9f40a
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      install.sh

+ 3
- 0
install.sh View File

@@ -138,6 +138,7 @@ else
fi fi


### Setup Nginx ### Setup Nginx
log_running "Setting up Nginx..."
sudo cp nginx.cfg /etc/nginx/sites-enabled/default sudo cp nginx.cfg /etc/nginx/sites-enabled/default
( (
sudo mkdir -p /var/www/wx sudo mkdir -p /var/www/wx
@@ -146,6 +147,8 @@ sudo cp nginx.cfg /etc/nginx/sites-enabled/default
sudo chmod 775 /var/www/wx sudo chmod 775 /var/www/wx
) )
sudo systemctl restart nginx sudo systemctl restart nginx
cp index.html /var/www/wx/index.html
log_done "Nginx configured"


### Setup ramFS ### Setup ramFS
cat /etc/fstab | grep -q "ramfs" cat /etc/fstab | grep -q "ramfs"


Loading…
Cancel
Save