title: Nginx URL routing
body: <p>I think this is kind of basic stuff, but I'm struggling to find proper guide that would explain these things:</p>
  
  <p>I have a <code>index.php</code> file and <code>nginx</code> config so that <code>https://dev.something.com</code> works ok.</p>
  
  <p>But I need to change <code>nginx</code> config so that that address produces blank page, and <code>index.php</code> only works from <code>https://dev.something.com/lists</code>. I could put <code>index.php</code> inside lists directory, but isn't there more subtle solution?</p>
  
  <p>And here's the hard part:
  Users should be able to access</p>
  
  <pre><code>https://dev.something.com/lists/userName
  https://dev.something.com/lists/userName/listName
  </code></pre>
  
  <p><code>userName</code> and <code>listName</code> should be used as <code>GET</code>-parameters.</p>
  
  <p>Can anyone help how I could achieve this kind of config with <code>nginx</code>?</p>