Welcome! Log In Create A New Profile

Advanced

How to change request parameters before passing request to proxy.

Posted by aanchalj 
How to change request parameters before passing request to proxy.
December 13, 2015 11:16AM
Hi,

I am using Nginx to proxy request to some backend server.
For this, i am using proxy_pass module to redirect.
Config file:
location = /hello {
proxy_pass: abc.com
}

I want to execute the following workflow.
Request to nginx server --> change request parameters --> pass the request to abc.com --> change the response parameters --> send response back to client.

Is this possible with nginx ? Any help/pointers to this problem would be appreciated.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 212
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready