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