title: Nginx location doesn't match
body: <p>I have an url like this:
  <code>https://www.vagrant.something.com/cdn/util/thumb/100/100/dev-profile-images/444ba5eacba004cb31dabbb5d5cda3ce9b2c84f4.jpg</code>
  and I have a nginx configuration with location like this: </p>
  
  <pre><code>location /cdn/ {
    proxy_pass http://cdn-vagrant.something.com/;
  }
  </code></pre>
  
  <p>My problem is that it should execute the proxy_pass to get back the image, but location doesn't match with the URL, what is the problem? If I am using this: </p>
  
  <pre><code>location / {
    proxy_pass http://cdn-vagrant.something.com/;
  }
  </code></pre>
  
  <p>And open the link it is working correctly, but in this case it proxy_pass the all request.</p>