we have two servers, A and B. Server A is accessed worldwide. He has nginx installed. That's what I have in conf:

```
location /test {
  proxy_pass http://localserver.com;
}

```

What it should do, is translate the addreess <http://globalserver.com/test> (that is server A) to internal server address <http://localserver.com>. However, it does append the location path, that is, itries to look for <http://localserver.com/test>, which is not available at all. How can I make the proxy pass to the correct address, throwing out the last part in the location?