mirror of
https://github.com/YunoHost-Apps/noalyss_ynh.git
synced 2024-09-03 19:46:20 +02:00
[enh] set correct variable for nginx conf
This commit is contained in:
parent
8083448165
commit
90a076f768
1 changed files with 6 additions and 0 deletions
|
@ -26,3 +26,9 @@ sudo yunohost app setting noalyss version -v "6.9.0.0"
|
|||
# Reload Nginx and regenerate SSOwat conf
|
||||
sudo service nginx reload
|
||||
sudo yunohost app ssowatconf
|
||||
|
||||
if [[ "$path" == "" ]]; then
|
||||
sed -i "s@LOCATIONTOCHANGE@/@g" ../conf/nginx.conf
|
||||
else
|
||||
sed -i "s@LOCATIONTOCHANGE@$path@g" ../conf/nginx.conf
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue