From 459d63b48791a28d80f7509e7475bc574b6fb5f2 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 12 Aug 2021 14:01:48 +0200 Subject: [PATCH] Fix path --- conf/nginx.conf | 4 ++-- scripts/install | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 1a75c75..e5a99fc 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,7 +1,7 @@ location / { # Path to source - alias __FINALPATH__/web; + alias __FINALPATH__/web/; # Force usage of https if ($scheme = http) { @@ -10,7 +10,7 @@ location / { index index.php; - try_files $uri $uri/ __PATH__/__PATH__/index.php?$query_string; + try_files $uri $uri/ __PATH__/index.php?$query_string; location ~ \.php$ { if (!-e $request_filename) { diff --git a/scripts/install b/scripts/install index 58130b5..f7b5aea 100644 --- a/scripts/install +++ b/scripts/install @@ -130,7 +130,6 @@ pushd "$final_path" ynh_script_progression --message="Yarn install..." npm install brotli yarn install --pure-lockfile --prod && yarn run buildall && rm -rf node_modules && yarn cache clean - popd #=================================================