mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
Fix path_url
This commit is contained in:
parent
19e6b5a1a1
commit
89b13986d5
2 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ ynh_print_info "Configuring nginx web server..."
|
|||
if [ $path_url = "/" ]; then
|
||||
ynh_replace_string "__SUB_PATH__" "" "../conf/nginx.conf"
|
||||
else
|
||||
ynh_replace_string "__SUB_PATH__" "$path" "../conf/nginx.conf"
|
||||
ynh_replace_string "__SUB_PATH__" "$path_url" "../conf/nginx.conf"
|
||||
fi
|
||||
|
||||
# Create a dedicated nginx config
|
||||
|
|
|
@ -81,7 +81,7 @@ if [ $path_url = "/" ]
|
|||
then
|
||||
ynh_replace_string "__SUB_PATH__" "" "../conf/nginx.conf"
|
||||
else
|
||||
ynh_replace_string "__SUB_PATH__" "$path" "../conf/nginx.conf"
|
||||
ynh_replace_string "__SUB_PATH__" "$path_url" "../conf/nginx.conf"
|
||||
fi
|
||||
ynh_add_nginx_config "nextclouddomain"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue