mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Restart Nginx breaks web admin. Reload instead and fixes #330.
This commit is contained in:
parent
8cfa9c3a18
commit
8763712575
1 changed files with 2 additions and 1 deletions
|
@ -76,7 +76,8 @@ do_post_regen() {
|
||||||
sudo mkdir -p "/etc/nginx/conf.d/${domain}.d"
|
sudo mkdir -p "/etc/nginx/conf.d/${domain}.d"
|
||||||
done
|
done
|
||||||
|
|
||||||
sudo service nginx restart
|
# Reload nginx configuration
|
||||||
|
sudo service nginx reload
|
||||||
}
|
}
|
||||||
|
|
||||||
FORCE=${2:-0}
|
FORCE=${2:-0}
|
||||||
|
|
Loading…
Add table
Reference in a new issue