title: Using Nginx to serve a static files in a subdirectory
body: <p>I currently have a bunch of working static files at the domain name khairulslt.me (from NameCheap). Recently, I've tried setting up a subdomain (khairulslt.me/RGBGame) as seen in the code below; However, I keep getting 404 errors. What am i missing out?</p>
  
  <pre><code>server {
    listen 80;
  
    index circles.html;
    server_name khairulslt.me www.khairulslt.me;
  
    location / {
    root /var/www/khairulslt.me;
    add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy- 
    revalidate, max-age=0';
    expires off;
    }
  
    location /RGBGame {
    alias /var/www/RGBGame/colorGame.html;
    index colorGame.html;
    }
  }
  </code></pre>
  
  <p>PS: I want to serve the new files as a working web app under the same Digital Ocean droplet that I'm using for the circles app.</p>