title: Nginx proxy pass without the location url on proxy_pass
body: <p>I am trying to proxy pass in nginx. here is what the config looks like  :</p>
  <pre><code>location /amazon {
          proxy_pass http://amazon.com;
      }
  </code></pre>
  <p>when I open domain.com/amazon it takes me to amazon.com/amazon. How should I write it so that is opens only amazon.com, without /amazon.</p>