mirror of
https://github.com/YunoHost-Apps/django-fmd_ynh.git
synced 2024-09-03 18:26:27 +02:00
fix : remove public _path
This commit is contained in:
parent
e8258cad47
commit
2ff00bab0a
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
location __PATH__/static/ {
|
location __PATH__/static/ {
|
||||||
# Service static files by nginx
|
# Service static files by nginx
|
||||||
# e.g.: /var/www/$app/static
|
# e.g.: /var/www/$app/static
|
||||||
alias __PUBLIC_PATH__/static/;
|
alias __INSTALL_DIR__/public/static/;
|
||||||
expires 30d;
|
expires 30d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
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 "$install_dir"
|
||||||
|
|
||||||
mkdir -p "$log_path"
|
mkdir -p "$log_path"
|
||||||
|
|
Loading…
Reference in a new issue