generated from bisco/codex-bootstrap
fix(docker): serve django static files via nginx
This commit is contained in:
@@ -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/ {
|
||||
|
||||
Reference in New Issue
Block a user