Autoriser Nginx à servir les médias publics

This commit is contained in:
Alexandre NOEL 2026-09-03 23:12:20 +02:00
commit bd3dff9dba
2 changed files with 3 additions and 1 deletions

View file

@ -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]

View file

@ -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"
}