From 82d7ffc2cf8253dadd51564a76cfe50863998309 Mon Sep 17 00:00:00 2001 From: frju365 Date: Wed, 17 Jun 2020 20:51:48 +0200 Subject: [PATCH] Subpath correction (#22) --- conf/nginx.conf | 2 +- scripts/change_url | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 69e2f7a..a7ea00a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,6 @@ #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 286643a..f359091 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -70,7 +70,6 @@ fi ynh_script_progression --message="Updating nginx web server configuration..." --time --weight=1 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 ]