From a84f242fadb8637977ac082e2e7e07dee69b69e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 14 Aug 2023 19:58:22 +0200 Subject: [PATCH] dir --- conf/nginx.conf | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 1af796a..8192a3b 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -2,7 +2,7 @@ location __PATH__/ { # Path to source - alias __INSTALL_DIR__/; + alias __INSTALL_DIR__/public/; index index.php index.html; diff --git a/scripts/install b/scripts/install index f2d448e..d57f288 100755 --- a/scripts/install +++ b/scripts/install @@ -22,7 +22,7 @@ ynh_script_progression --message="Setting up source files..." --weight=2 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" -ynh_setup_source --dest_dir="$install_dir" --source_id="front" +ynh_setup_source --dest_dir="$install_dir/public" --source_id="front" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"