fix(docker): serve django static files via nginx

This commit is contained in:
bisco
2026-04-29 18:46:53 +02:00
parent c82103cc66
commit 784076e6be
3 changed files with 10 additions and 4 deletions

View File

@@ -29,9 +29,9 @@ server {
}
location /static/ {
proxy_pass http://azionelab_backend;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
alias /var/www/static/;
access_log off;
expires 1d;
}
location /media/ {