Welcome! Log In Create A New Profile

Advanced

Re: Input filters in Nginx?

Maxim Dounin
October 29, 2019 12:22PM
Hello!

On Tue, Oct 29, 2019 at 09:49:29AM -0400, awagner wrote:

> Hi all. I did some search on the web and the archives here and did not find
> an conclusive answer to this question.
>
> Apache has both input a filters (work on the request before content
> generation) and output filters (work on generated content). As I am
> exploring the possibility to port some Apache modules that transform data in
> both directions in a proxy-setup to Nginx, I am wondering whether Nginx has
> input filters as well. What I have read about Nginx modules seem to indicate
> that it does not. Is that correct?
>
> I am aware that I could hack something into the proxy module, but I would
> like to avoid that approach.

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

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.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Input filters in Nginx?

awagner October 29, 2019 09:49AM

Re: Input filters in Nginx?

Maxim Dounin October 29, 2019 12:22PM

Re: Input filters in Nginx?

awagner October 31, 2019 09:25AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 248
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready