diff --git a/scripts/install b/scripts/install index 006fd75..2e3a46c 100644 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index 2882934..b6ad897 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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"