title: proxy_pass a specific query string
body: <p>I need to create a nginx proxy pass which currently breaks my head. From what I see there's very less resources about that problem, online. So I hope somebody is willing to help me out, here.</p>
  <p>So I'm having an URI like this:</p>
  <pre><code>/files/videos/12/play.mov?query1=34&amp;query2=56&amp;query3=78
  </code></pre>
  <p>and I want it to be proxy passed to this destination:</p>
  <pre><code>http://127.0.0.1:25123/stream/56
  </code></pre>
  <p>So I want the argument of <strong>query2</strong> to be inserted after <strong>/stream/</strong></p>
  <p>Could anybody please give me a tip how to do this?</p>
  <p>Best regards</p>