|
@@ -173,10 +173,10 @@ sudo cp templates/nginx.cfg /etc/nginx/sites-enabled/default |
|
|
) |
|
|
) |
|
|
sudo systemctl restart nginx |
|
|
sudo systemctl restart nginx |
|
|
if [ ! -e /var/www/wx/index.html ]; then |
|
|
if [ ! -e /var/www/wx/index.html ]; then |
|
|
cp templates/index.html /var/www/wx/index.html |
|
|
|
|
|
|
|
|
sudo cp templates/index.html /var/www/wx/index.html |
|
|
fi |
|
|
fi |
|
|
if [ ! -e /var/www/wx/logo-small.png ]; then |
|
|
if [ ! -e /var/www/wx/logo-small.png ]; then |
|
|
cp templates/logo-small.png /var/www/wx/logo-small.png |
|
|
|
|
|
|
|
|
sudo cp templates/logo-small.png /var/www/wx/logo-small.png |
|
|
fi |
|
|
fi |
|
|
log_done "Nginx configured" |
|
|
log_done "Nginx configured" |
|
|
|
|
|
|
|
|