mirror of
https://github.com/YunoHost-Apps/garradin_ynh.git
synced 2024-09-03 18:36:17 +02:00
Update upgrade
This commit is contained in:
parent
cbbadbc67a
commit
b86fd224c4
1 changed files with 5 additions and 5 deletions
|
@ -4,9 +4,9 @@ source ./_common
|
||||||
set -eu
|
set -eu
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
domain=$(sudo ynh_app_setting_set $app domain)
|
domain=$(ynh_app_setting_set $app domain)
|
||||||
path=$(sudo ynh_app_setting_set $app path)
|
path=$(ynh_app_setting_set $app path)
|
||||||
is_public=$(sudo ynh_app_setting_set $app is_public)
|
is_public=$(ynh_app_setting_set $app is_public)
|
||||||
|
|
||||||
# Source app helpers
|
# Source app helpers
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
@ -41,8 +41,8 @@ sudo chmod 600 $nginxconf
|
||||||
|
|
||||||
if [ "$is_public" = "Yes" ];
|
if [ "$is_public" = "Yes" ];
|
||||||
then
|
then
|
||||||
sudo ynh_app_setting_set $app skipped_uris -d
|
ynh_app_setting_set $app skipped_uris -d
|
||||||
sudo ynh_app_setting_set $app unprotected_uris "/"
|
ynh_app_setting_set $app unprotected_uris "/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
|
|
Loading…
Add table
Reference in a new issue