Input filters in Nginx?

awagner nginx-forum at
Thu Oct 31 13:25:57 UTC 2019

Maxim Dounin Wrote:
> Depending on what you are trying to do, either phase handlers or 
> request body filters might work for you.

Just working on the body will not do it. A phase handler, 
basically what Apache offers with its "hooks" from what I can 
see, looks promising though. 

> If they won't, you are probably looking for either proxy-level 
> modifications with proxy module configuration options (such as 
> proxy_set_header and proxy_set_body), or for a proxy-like module 
> which will do appropriate modifications.

I do want to avoid writing my on proxy-like module or modifying an 
existing one. I do understand this is a possibility, but the people
I am looking at this for will want to keep the functionality separate
from the actual proxying.

Thanks for the pointer to the phase handlers!


Posted at Nginx Forum:,286038,286060#msg-286060

More information about the nginx mailing list