title: Angular and NGINX permission denied
body: <p>I'm trying the setup NGINX to access angular <code>/dist</code> folder but can't make it works despite <code>chmod -R 755 /path/to/dist</code> ...</p>
  
  <p>in my NGINX http block: </p>
  
  <pre><code>server {
    listen 80;
    server_name dashboard.example.local;
  
    ssl off;
  
    gzip on;
    root /path/to/dist/;
    index index.html;
  
    location /api/ {
      proxy_pass http://127.0.0.1:3000/;
    }
  }
  </code></pre>
  
  <p>I'm still getting this error <code>"dist/index.html" is forbidden (13: Permission denied)</code></p>
  
  <p>I already tried all the existing solutions I found on the internet.</p>
  
  <p>EDIT: files that nginx are trying to access are 755</p>