title: How to change $request_uri in nginx?
body: <p>We get information from <code>$_SERVER['REQUEST_URI']</code> not from <code>$_GET</code> or <code>$_POST</code>.</p>
  
  <p>I want to define <code>$request_uri</code> to change <code>/example</code> to <code>/module/controller/action</code>. Please note that I do not want to trigger a redirect.</p>
  
  <p>I tried the code below to do this, but it doesn't work.</p>
  
  <pre><code>location /example {
      rewrite /module/controller/action;  
  }
  </code></pre>