mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-03 17:38:16 +02:00
Update blitz.web.sh
This commit is contained in:
parent
98e085bc56
commit
7a5be78f96
@ -155,6 +155,9 @@ elif [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
sudo mkdir -p /var/www/letsencrypt/.well-known/acme-challenge >/dev/null
|
||||
fi
|
||||
|
||||
# make sure admin can write here even without sudo
|
||||
sudo chown -R admin:www-data /var/www/letsencrypt
|
||||
|
||||
# copy webroot
|
||||
if ! [ -d /var/www/public ]; then
|
||||
sudo cp -a /home/admin/assets/nginx/www_public/ /var/www/public
|
||||
|
Loading…
x
Reference in New Issue
Block a user