http_proxy_module hooks

Tobias Stadler ts.stadler at gmx.de
Tue Nov 9 08:32:37 UTC 2021


Hi Maxim,

Thank You for the information.

Do generic request handlers/response filters work for request to upstream servers? Do you now any documentation/example on how to implement such an handler/filter?

Regards Tobias


> Am 08.11.2021 um 22:05 schrieb Maxim Dounin <mdounin at mdounin.ru>:
> 
> 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/
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20211109/18bad06b/attachment.htm>


More information about the nginx mailing list