Capture 2xx response from proxy and rewrite

Hi,

Is it possible to catch a 2xx response from a upstream proxy and rewrite
the
response? We’re able to do this with 4xx and 5xx responses using
proxy_intercept_errors and error_page, but I haven’t found an equivalent
way
of doing this for 2xx responses.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,243530,243530#msg-243530

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