Autoriser Nginx à servir les médias publics
This commit is contained in:
parent
8ab7b9efda
commit
bd3dff9dba
2 changed files with 3 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ id = "globinours"
|
|||
name = "Globinours"
|
||||
description.en = "Lightweight animal shelter management"
|
||||
description.fr = "Gestion légère et complète pour refuges animaliers"
|
||||
version = "1.0.0-rc.3~ynh6"
|
||||
version = "1.0.0-rc.3~ynh7"
|
||||
maintainers = ["OverSu"]
|
||||
|
||||
[upstream]
|
||||
|
|
|
|||
|
|
@ -24,4 +24,6 @@ prepare_persistent_paths() {
|
|||
chown -R "$app:$app" "$data_dir"
|
||||
chmod -R u=rwX,g=rX,o= "$install_dir"
|
||||
chmod -R u=rwX,g=,o= "$data_dir"
|
||||
chown -R "$app:www-data" "$data_dir/media"
|
||||
chmod -R u=rwX,g=rX,o= "$data_dir/media"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue