mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
mini fix
This commit is contained in:
parent
1dd7b48225
commit
4a992b2acb
1 changed files with 7 additions and 4 deletions
|
@ -26,8 +26,8 @@ ynh_abort_if_errors
|
||||||
|
|
||||||
# Retrieve arguments
|
# Retrieve arguments
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
#path_url=$YNH_APP_ARG_PATH
|
path_url=$YNH_APP_ARG_PATH
|
||||||
#port=$YNH_APP_ARG_PORT
|
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
|
|
||||||
### If it's a multi-instance app, meaning it can be installed several times independently
|
### If it's a multi-instance app, meaning it can be installed several times independently
|
||||||
### The id of the app as stated in the manifest is available as $YNH_APP_ID
|
### The id of the app as stated in the manifest is available as $YNH_APP_ID
|
||||||
|
@ -201,8 +201,11 @@ cp -a ../conf/default.json /etc/onlyoffice/documentserver/default.json
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# unprotected_uris allows SSO credentials to be passed anyway.
|
# If app is public, add url to SSOWat conf as skipped_uris
|
||||||
ynh_app_setting_set $app unprotected_uris "/"
|
if [ $is_public -eq 1 ]; then
|
||||||
|
# unprotected_uris allows SSO credentials to be passed anyway.
|
||||||
|
ynh_app_setting_set "$app" unprotected_uris "/"
|
||||||
|
fi
|
||||||
|
|
||||||
# Reload services
|
# Reload services
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
Loading…
Add table
Reference in a new issue