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 #=================================================