Passing response from upstream server to another upstream server

MAGNIEN, Thierry thierry.magnien at
Tue Nov 12 15:04:01 UTC 2013


I would like to achieve something like this:
- Nginx receives request from client
- Nginx forwards request to an upstream server and reads response
- Nginx sends this  response to another upstream server (it will perform some content modification)
- Nginx gets final response and sends it over to client

Is there a way to achieve this by using existing modules and an adequate configuration, or do I need to write my own "double upstream" module ?

Thanks a lot,

More information about the nginx-devel mailing list