title: nginx rewrite uppercase to lowercase letters in a rewrite rule
body: <p>I want to rewrite url like this:
  www.example.com/TeSt/AAA/BBBB ------> www.example.com/test/AAA/BBB</p>
  
  <p>I make like this, but it's not done:</p>
  
  <pre><code>location /test {
      proxy_pass http://127.0.0.1:8080;
  }
  location ~* /test/ {
      rewrite .* /test/ last;
  }
  </code></pre>