title: Nginx setup with multiple html files
body: <p>I have got a website with multiple html files which I want to serve with Nginx.</p>
  
  <pre><code>server {
          listen 80;
          root /var/www;
          location / {
                  index index.html;
          }
  
          location /projects/ {
                  index projects.html;
          }
  
          server_name mylady17.de;
  
  
          location /shiny/ {
                  proxy_pass http://104.248.41.231:3838/;
          }
  }
  </code></pre>
  
  <p>This is the way it is set up. The index.html works perfectly fine, but however <code>"http://mylady17.de/projects"</code> gives me an error (404, not found). The <code>projects.html</code> file is stored in <code>var/www/</code> and should work. What am I doing wrong? Why can´t I access the file?</p>