[Answered ]-Trouble loading static files in Nginx + Digital Ocean Deployment

1👍

I recreated the problem in my localhost and it turns out that I needed to add the project folders app’s name before the ‘/static/’ URL location in Nginx, like it is in my project folders app’s ‘settings.py’.

sudo nano /etc/nginx/sites-available/btre_project

change:

/static/

to:

/my_app/static

Leave a comment