mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
Fix
This commit is contained in:
parent
9691bbbdba
commit
b5d1fbbba2
3 changed files with 6 additions and 10 deletions
|
@ -32,8 +32,8 @@ DB_LOG_SQL=false
|
|||
TIMEZONE=UTC
|
||||
|
||||
# folders in which the files will be stored
|
||||
#LYCHEE_DIST="/var/www/__APP__/public/dist/"
|
||||
#LYCHEE_UPLOADS="/var/www/__APP__/public/uploads/"
|
||||
LYCHEE_DIST="/var/www/__APP__/public/dist/"
|
||||
LYCHEE_UPLOADS="/home/yunohost.__APP__/uploads/"
|
||||
|
||||
# url to access those files
|
||||
# LYCHEE_DIST_URL="dist/"
|
||||
|
|
|
@ -33,7 +33,3 @@ location ^~ __PATH__/ {
|
|||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
|
||||
location @lychee {
|
||||
rewrite __PATH__/(.*)$ __PATH__/index.php?/$1 last;
|
||||
}
|
||||
|
|
|
@ -141,8 +141,8 @@ ynh_store_file_checksum "$final_path/.env"
|
|||
# CREATE DIRECTORIES
|
||||
#=================================================
|
||||
|
||||
#mkdir -p /home/yunohost.${app}/uploads
|
||||
#mkdir -p /home/yunohost.${app}/uploads/{big,medium,small,thumb,import}
|
||||
mkdir -p /home/yunohost.${app}/uploads
|
||||
mkdir -p /home/yunohost.${app}/uploads/{big,medium,small,thumb,import,raw}
|
||||
|
||||
#=================================================
|
||||
# SECURE FILES AND DIRECTORIES
|
||||
|
@ -150,8 +150,8 @@ ynh_store_file_checksum "$final_path/.env"
|
|||
|
||||
# Set permissions to app files
|
||||
chown -R $app: $final_path
|
||||
#chown -R $app: /home/yunohost.${app}
|
||||
#chmod -R 750 /home/yunohost.${app}
|
||||
chown -R $app: /home/yunohost.${app}
|
||||
chmod -R 750 /home/yunohost.${app}
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
Loading…
Add table
Reference in a new issue