http_proxy_module hooks

Reinis Rozitis r at roze.lv
Tue Nov 9 09:44:22 UTC 2021


> 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?

As a variant the Sub filter module does http://nginx.org/en/docs/http/ngx_http_sub_module.html (the only requirement was that the response from the upstream shouldn’t be compressed though).

But probably it would be more easy to suggest something if you wrote what exactly you want to achieve as there are also options to mangle with requests using Lua etc.


rr



More information about the nginx mailing list