Django Static Files issue with Nginx

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 of STATIC_ROOT
    • Make sure you’re clear on the difference between the nginx alias and root directives.

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: