title: Nginx return file for path
body: <p>I want Nginx to return r.json file for path example.com/r/
  What I tried:</p>
  
  <pre><code>location /r/ {
      alias /home/user/media/json/r.json;
  }
  </code></pre>
  
  <p>But all that didn't work. I've got 500 with message:</p>
  
  <p>/home/user/media/json/r.jsonindex.html is not a directory</p>