title: how to get url parameter and pass to proxy_pass using nginx
body: <p>I need to get the parameter from an URL, for example, abc=MY_STRING:</p>
  
  <pre><code>https://my-address/test?abc=MY_STRING
  </code></pre>
  
  <p>And at the reverse proxy (my-address), is configured like this:</p>
  
  <pre><code>location /test?(.*) {
    proxy_pass http://local-server:1234/test?$args
  }
  </code></pre>
  
  <p>but it is not working.</p>
  
  <p>I tried another configuration:</p>
  
  <pre><code>location /test?(.*) {
    proxy_pass http://local-server:1234/test?$1
  }
  </code></pre>
  
  <p>but not worked too.</p>