Forum: NGINX Capture 2xx response from proxy and rewrite

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2974d09ac2541e892966b762aad84943?d=identicon&s=25 jlintz (Guest)
on 2013-10-08 17:55
(Received via mailing list)
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 topic is locked and can not be replied to.