|
@@ -162,7 +162,7 @@ fi |
|
|
|
|
|
|
|
|
### Setup Nginx |
|
|
### Setup Nginx |
|
|
log_running "Setting up Nginx..." |
|
|
log_running "Setting up Nginx..." |
|
|
sudo cp templates/nginx.cfg /etc/nginx/sites-enabled/default |
|
|
|
|
|
|
|
|
sudo cp templates/nginx.cfg /etc/nginx/sites-enabled/wx |
|
|
( |
|
|
( |
|
|
sudo mkdir -p /var/www/wx |
|
|
sudo mkdir -p /var/www/wx |
|
|
sudo chown -R www-data:www-data /var/www/wx |
|
|
sudo chown -R www-data:www-data /var/www/wx |
|
|