title: NGNIX url rewriting doesn't use root statement
body: <p>in the site configuration I have this simple statement:</p>
  <pre><code>  location /test/mysite/ { 
        root /folder/; 
        rewrite ^/test/mysite/(.*)$ /$1 last; 
    } 
  </code></pre>
  <p>I would like that ngnix remove the <code>/test/mysite/</code> part and accesses the resource from <code>/folder/</code>.</p>
  <p>For example, if I go to <code>http://mywebsite/test/mysite/test.html</code>
  it would load the file <code>ŧest.html</code> from <code>/folder/test.html</code></p>