<div dir="ltr">Happy Holidays!<div><br></div><div>You mean something like this?<div><a href="https://serverfault.com/questions/361556/is-it-possible-to-log-the-response-data-in-nginx-access-log">https://serverfault.com/questions/361556/is-it-possible-to-log-the-response-data-in-nginx-access-log</a><br></div><div><br></div><div>Either way, you're probably looking at OpenResty Lua (<a href="https://github.com/openresty/lua-nginx-module">https://github.com/openresty/lua-nginx-module</a>), cosockets (<a href="https://github.com/openresty/lua-nginx-module#cosockets-not-available-everywhere">https://github.com/openresty/lua-nginx-module#cosockets-not-available-everywhere</a>), and maybe mlcache (<a href="https://github.com/thibaultcha/lua-resty-mlcache">https://github.com/thibaultcha/lua-resty-mlcache</a>). Instead of writing a full blown module, consider using Lua. I know this isn't an OpenResty forum, but... <a href="https://opm.openresty.org/">https://opm.openresty.org/</a> also has a bunch of goodies that might help :)</div></div><div><br></div><div>gl!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 29, 2020 at 4:16 PM Federico Felman <<a href="mailto:ffjr@hotmail.com">ffjr@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="gmail-m_-8757646969483700025WordSection1">
<p class="MsoNormal">Hello everyone and happy holidays.</p>
<p class="MsoNormal">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.</p>
<p class="MsoNormal">For what I’ve seen I can read the REQ easily but I don’t see any way to access the response.</p>
<p class="MsoNormal">Can you guys help me?</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks in advance!!!</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a></blockquote></div>