Welcome! Log In Create A New Profile

Advanced

nginx response logging

Posted by hkashyap 
nginx response logging
September 30, 2015 11:41AM
I wish there was an easy way to log http responses in nginx just as we can log the request with $request_body in the log format in access.log. I know there is a lua method to do so but thats not good because nginx official docker container image doesn't have support for these third party extensions. This should be a feature of nginx core IMO. I have been searching for the past 2 days with no easy way to setup logging of full response with body and header along with the requests.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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