fix(deploy): serve django media and static from shared volumes

This commit is contained in:
2026-04-29 18:04:53 +03:30
parent 34af725f41
commit 50eaf00cf2
2 changed files with 15 additions and 15 deletions

View File

@@ -37,13 +37,13 @@ server {
# Static and Media files
location /static/ {
alias /usr/share/nginx/html/staticfiles/;
alias /usr/share/nginx/html/static/;
expires 30d;
access_log off;
}
location /media/ {
alias /usr/share/nginx/html/mediafiles/;
alias /usr/share/nginx/html/media/;
expires 30d;
access_log off;
}