title: Want to change request url but remain transparent to application
body: <p>I just did a whole heap of dev work and used a url similar to below...</p>
  
  <pre><code>http://192.168.1.10/
  </code></pre>
  
  <p>The thing is though, my client wants to run 2 seperate applications using the same IP address. So essentially you would have one application running on <a href="http://192.168.1.1/" rel="nofollow noreferrer">http://192.168.1.1/</a> and the other application will be runing on <a href="http://192.168.1.1/sales" rel="nofollow noreferrer">http://192.168.1.1/sales</a>.</p>
  
  <p>I tried to do a proxy_pass to my other application with the following...</p>
  
  <pre><code>location /sales {
      proxy_pass        http://192.168.1.10;
  }
  </code></pre>
  
  <p>When I visit the page I am being brought to the applications 404 page. I can understand why this is occurring, because the application is treating the 'sales' as part of the uri and that doesn't belong to any routes in my application. </p>
  
  <p>Is there any way I can accomplish accessing the webpage with the URL <a href="http://192.168.1.1/sales" rel="nofollow noreferrer">http://192.168.1.1/sales</a> however the application views it as <a href="http://192.168.1.1" rel="nofollow noreferrer">http://192.168.1.1</a>? I would like to accomplish this without having to touching my application.</p>
  
  <p>Cheers</p>