From 2ff00bab0aba64cb89311de389ccb51a2de7e356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 19 Jan 2024 14:49:36 +0100 Subject: [PATCH] fix : remove public _path --- 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 867d5ef..2cc86fe 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -2,7 +2,7 @@ location __PATH__/static/ { # Service static files by nginx # e.g.: /var/www/$app/static - alias __PUBLIC_PATH__/static/; + alias __INSTALL_DIR__/public/static/; expires 30d; } diff --git a/scripts/install b/scripts/install index b4da47e..4c602e6 100755 --- a/scripts/install +++ b/scripts/install @@ -8,7 +8,7 @@ source _common.sh source /usr/share/yunohost/helpers -mkdir -p "$public_path/media" "$public_path/static" +mkdir -p "$install_dir/public/media" "$install_dir/public/static" mkdir -p "$install_dir" mkdir -p "$log_path"