[Fixed]-Deploy a Django Site with another folder for static files

1👍

i found the answer to my question,

the problem was that i set in the nginx configuration: root

location /static {
    root /var/projects/project/static_root;
}

the correct way is: alias

location /static {
    alias /var/projects/project/static_root;
}

Leave a comment