title: Django: can't load static files from template on DigitalOcean Droplet
body: <p>I'm having issues loading static files from a template in my Django app running on DigitalOcean machine.</p>
  
  <p>Here is my Nginx configuration file (etc/nginx/sites-available/django):</p>
  
  <pre><code># your Django project's static files - amend as required
  location /static {
      alias /home/workspace/app-toscana/django/djangoapptoscana/djangoapptoscana/static;
  }
  </code></pre>
  
  <p>Here it is my settings.py file:</p>
  
  <pre><code>STATIC_PATH = os.path.join(BASE_DIR,'static')
  
  STATIC_URL = '/static/' # You may find this is already defined as such.
  
  STATICFILES_DIRS = (
      STATIC_PATH, )
  </code></pre>
  
  <p>Here is an example of template file call:</p>
  
  <pre><code>{% load staticfiles %}
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;AdminLTE 2 | Dashboard&lt;/title&gt;
      &lt;meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'&gt;
      &lt;!-- Bootstrap 3.3.4 --&gt;
      &lt;link href="{% static 'bootstrap/css/bootstrap.min.css' %}" rel="stylesheet" type="text/css" /&gt;
  </code></pre>
  
  <p>I tried different solutions, especially changing settings.py file, without any result.
  Maybe there is any king of problem in the Nginx and gunicorn configurations that I'm not able to find.</p>