fix nginx media serve

This commit is contained in:
godd0t
2023-05-10 15:26:50 +02:00
parent 4456137954
commit abd389b04c
2 changed files with 7 additions and 8 deletions

View File

@@ -6,11 +6,13 @@ http {
server {
listen 80;
location /static/ {
location /static {
autoindex on;
alias /usr/src/app/static/;
}
location /media/ {
location /media {
autoindex on;
alias /usr/src/app/media/;
}
}