fix: servir les médias persistants
This commit is contained in:
parent
79edfabcfb
commit
ca1935871e
2 changed files with 7 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue