http_proxy_module hooks

Maxim Dounin mdounin at mdounin.ru
Mon Nov 8 21:05:43 UTC 2021


Hello!

On Mon, Nov 08, 2021 at 09:57:39PM +0100, Tobias Stadler wrote:

> Does the http_proxy (or the http_upstream) module provide any 
> hooks (for a 3rd party plugin) to intercept/process the request 
> to the upstream server/the response received by the upstream 
> server?

No.  Depending on what are you trying to do, either proxy 
configuration (such as proxy_set_header or proxy_set_body) or 
generic request handlers (and/or response filters) might be 
appropriate.

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx mailing list