Rewriting GET request parameters while configured as a reverse proxy

Is there a way to make nginx rewrite the GET request parameters while
configured as a reverse proxy. e.g. if nginx receives a request GET /
foo.html?abc=123 , can nginx rewrite it to GET /foo.html?abc=456 (nginx
admin specifies 123 to be changed to 456) and then do a proxy pass to
the origin server.
I did a test run with using $args on the lines of
rewrite ^ permanent; }
as explained at However, this
seems to work only for when nginx is the web server. It tries to fetch
the content from the local nginx html folder.

Please provide inputs.

It seems your syntax is obsolete. Have a look at where it is
explicitly written.
It is also explicitely wriiten on the wiki page you visited that the
resource is obsolete and that you should use

B. R.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs