1
I found the reason.
STATIC_URL = '/staticfiles/'
is creating issue. It has to be
STATIC_URL = ‘/static/’.
The earlier one appends the files
in the path on request which was causing my issue.
0
Cannot find the directory files anywhere in your first set up. [I have not privileges to comment yet].
The set up looks good for me, maybe you just forget to restart Nginx when you modified the configuration file.
Refer link at STATIC_ROOT in Django on Server
Source:stackexchange.com