diff --git a/conf/nginx.conf b/conf/nginx.conf index c524c57..1f2242b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,4 @@ -location __PATH__/ { +location __PATH__ { alias __FINALPATH__/ ; diff --git a/scripts/change_url b/scripts/change_url index a4eed15..86de420 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -34,8 +34,6 @@ final_path=$(ynh_app_setting_get $app final_path) test -n "$old_path" || old_path="/" test -n "$new_path" || new_path="/" -new_path=$(ynh_normalize_url_path $new_path) -old_path=$(ynh_normalize_url_path $old_path) #================================================= # CHECK WHICH PARTS SHOULD BE CHANGED