diff --git a/conf/nginx.conf b/conf/nginx.conf index 9ad0765..f41bfd5 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,7 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ { + # Path to source alias __FINALPATH__/www/ ; diff --git a/scripts/change_url b/scripts/change_url index efe3a6b..449d768 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -53,7 +53,6 @@ fi ynh_script_progression --message="Updating NGINX web server configuration..." --weight=5 nginx_conf_path=/etc/nginx/conf.d/$old_domain.d/$app.conf -final_path=/var/www/$app # Change the path in the NGINX config file if [ $change_path -eq 1 ]