Re: Common problem finding static files. Help appreciated.

2021-08-18 Thread Scott Zimmerman
Resolved by changing nginx config file from above to this: location /static { root /home/www/wcsdg/main; } On Wednesday, August 18, 2021 at 8:03:00 AM UTC-5 Scott Zimmerman wrote: > > I deployed django + nginx + gunicorn, and DEBUG = True. Nginx/error.log > shows that m

Common problem finding static files. Help appreciated.

2021-08-18 Thread Scott Zimmerman
I deployed django + nginx + gunicorn, and DEBUG = True. Nginx/error.log shows that my problem finding static files is a concatenation mistake (caps added)... "/home/www/wcsdg/main/STATIC/STATIC/main/styles.css" failed (2: No such file or directory), It should instead search for... "