it's my very beginning with the django. I've configured server with nginx and gunicorn. The problem is that static files are not being loaded correctly. When I go to the source code I can see, f.e:
<link href="/app_name/static/css/bootstrap.min.css" rel="stylesheet">
although the correct file is located under: /static/css/bootstrap.min.css
So it seems that "app_name" is added before path to my /static/ folder.
settings.py file:
STATIC_ROOT = '/webapps/filmyposlowie/static/'
STATIC_URL = '/static/'
index.html file:
{% load staticfiles %}
<link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet">
nginx:
location /static/ {
alias /webapps/filmyposlowie/static/;
}