^
This commit is contained in:
parent
e1a68021c5
commit
1b911c79cf
1 changed files with 1 additions and 2 deletions
|
@ -103,7 +103,6 @@ if [ "$SAME_HOST" = "no" ]; then
|
|||
sudo chown -R www-data /var/www/$APP_HOST
|
||||
echo "Enabling server block and Restarting nginx..."
|
||||
sudo ln -s /etc/nginx/sites-available/saleor-dashboard /etc/nginx/sites-enabled/
|
||||
sudo systemctl restart nginx
|
||||
else
|
||||
# Move static files for the Dashboard
|
||||
sudo mv $HD/saleor-dashboard/build/* /var/www/$HOST/
|
||||
|
@ -121,7 +120,7 @@ else
|
|||
if [ ! -f "/etc/nginx/sites-enabled/saleor" ]; then
|
||||
sudo ln -s /etc/nginx/sites-available/saleor /etc/nginx/sites-enabled/
|
||||
fi
|
||||
sudo systemctl restart nginx
|
||||
fi
|
||||
sudo systemctl restart nginx
|
||||
#########################################################################################
|
||||
|
||||
|
|
Loading…
Reference in a new issue