title: Nginx alias and try_files to subfolder doesn't work
body: <p>When I put my php files in /home/tim_test it works fine</p>
  
  <p>When i put my files in /home/tim_test/hmm it does not work.  Why not?</p>
  
  <pre><code>server {
  
      listen 80;
      root /home;
      index index.php;
  
      location /admin {
  
          alias /home/admin/;
          try_files $uri $uri.html $uri/ /home/admin/;
          index index.html index.htm index.php;
  
      }
  
      location /tim_test/ {
  
          alias /home/tim_test/;
          try_files $uri $uri.html $uri/ /home/tim_test/;
          index index.html index.htm index.php;
  
      }
  
      # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
  
          location ~ \.php$ {
  
              try_files $uri =404;
              fastcgi_pass unix:/var/run/php5-fpm.sock;
              fastcgi_index index.php;
              fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
              include fastcgi_params;
  
          }     
  
  }
  </code></pre>
  
  <p>I tried editing my file to look like this to reflect the folder change, but it doesn't work, I get  403 forbidden when I visit /tim_test in a browser</p>
  
  <pre><code>location /tim_test/ {
  
      alias /home/tim_test/hmm/;
      try_files $uri $uri.html $uri/ /home/tim_test/hmm/;
      index index.html index.htm index.php;
  
  }
  </code></pre>
  
  <p>Thank you! I am so stumped.  I tried over 100 nginx restarts and different things.  </p>
  
  <p>Edit: If I go there on chrome I get a 404 not found, I think I was only getting the 403 on firefox because I tried visiting the site so many times. Either way though, it does not work.  </p>