title: nginx try_files without any files - internal redirect
body: <p>Given:</p>
  
  <pre><code>    location ~ /foo/ {
          try_files $uri $uri/ /foohandler.py;
      }
  </code></pre>
  
  <p><code>try_files</code>: "If none of the files were found, an internal redirect to the uri specified in the last parameter is made" <a href="http://nginx.org/en/docs/http/ngx_http_core_module.html#try_files" rel="nofollow">1</a>.</p>
  
  <p>If I know <code>$uri</code> and <code>$uri/</code> will never exist, how do I always do an internal redirect to <code>/foohandler.py</code> without using <code>try_files</code>?</p>
  
  <p>Using <code>try_files /foohandler.py</code> is invalid syntax. What is the proper equivalent? <code>return</code>? <code>rewrite</code>?</p>