Welcome @thisIsTheWay !
A few points to cover here:
- Yes, nginx should be serving static files
- Nginx needs to have read access to
STATIC_ROOT
- Your
STATIC_ROOT
should not be in your project directory - Your
alias
directive needs to specify the physical location ofSTATIC_ROOT
- Make sure you’re clear on the difference between the nginx
alias
androot
directives.
- Make sure you’re clear on the difference between the nginx
If you search for nginx
in the “Deployment” section of the forum, you’ll find a number of different threads on this topic.
See the following threads as a couple of examples: