fix: servir les médias persistants

This commit is contained in:
Alex Noel 2026-09-07 19:37:29 +02:00
commit ca1935871e
2 changed files with 7 additions and 3 deletions

View file

@ -5,6 +5,10 @@ location = __PATH__/index.php {
fastcgi_pass unix:/var/run/php/php__PHP_VERSION__-fpm-__APP__.sock;
}
location ^~ __PATH__/media/ {
alias __DATA_DIR__/media/;
}
location __PATH__/ {
alias __INSTALL_DIR__/public/;
index index.php;