title: Nginx unable to access parts of the website
body: <p>Si I'm trying to run Invision Forums on nginx but it can't seem to access the uploads folder for some reason. It's most likely my configuration that's wrong but I'm not really sure since this is the first time I'm working with nginx.</p>
  <p><a href="https://i.stack.imgur.com/A2JB9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A2JB9.png" alt="enter image description here" /></a></p>
  <p>Here's my configuration file:</p>
  <pre><code>worker_processes  1;
  user www-data;
  
  
  events {
      worker_connections  1024;
  }
  
  http {
      include       mime.types;
      default_type  application/octet-stream;
      sendfile        on;
  
  
      server {
  
      listen        80;
      listen        [::]:80;
      server_name   localhost;
      root          /var/www/forums;
      index         index.php;
  
      charset utf-8;
      client_max_body_size 100M;
      fastcgi_read_timeout 1800;
  
      location / {
          try_files $uri /index.php;
      }
  
      location ~ \.php$ {
          try_files $uri =404;
          fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
          fastcgi_index index.php;
          fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
          include fastcgi_params;
      }
      
  }
  
  }
  </code></pre>