Welcome! Log In Create A New Profile

Advanced

Re: Getting started with a Module

Andrei
December 29, 2020 02:24PM
Happy Holidays!

You mean something like this?
https://serverfault.com/questions/361556/is-it-possible-to-log-the-response-data-in-nginx-access-log

Either way, you're probably looking at OpenResty Lua (
https://github.com/openresty/lua-nginx-module), cosockets (
https://github.com/openresty/lua-nginx-module#cosockets-not-available-everywhere),
and maybe mlcache (https://github.com/thibaultcha/lua-resty-mlcache).
Instead of writing a full blown module, consider using Lua. I know this
isn't an OpenResty forum, but... https://opm.openresty.org/ also has a
bunch of goodies that might help :)

gl!

On Tue, Dec 29, 2020 at 4:16 PM Federico Felman <ffjr@hotmail.com> wrote:

> Hello everyone and happy holidays.
>
> I’ve been asked to do a specific module for NGINX, I need to “log” all the
> requests and responses using some specific web services.
>
> For what I’ve seen I can read the REQ easily but I don’t see any way to
> access the response.
>
> Can you guys help me?
>
>
>
> Thanks in advance!!!
>
>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Getting started with a Module

FedeX December 29, 2020 09:18AM

Re: Getting started with a Module

Andrei December 29, 2020 02:24PM

RE: Getting started with a Module

FedeX December 30, 2020 09:00AM

Re: Getting started with a Module

Andrei December 31, 2020 01:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 100
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