Welcome! Log In Create A New Profile

Advanced

Log Entire HTTP request (including body)

W. Andrew Loe III
February 20, 2010 11:36AM
I have flash clients POSTing file uploads to a cluster fronted by
nginx. I see nginx logging 400 and 408 errors to these requests with a
high frequency and would like to inspect the requests to be sure Flash
isn't sending malformed data.

What $http variable holds the entire request, and can I simply copy
the buffered file easily? If there isn't a single variable can I just
log $http_request_headers and $http_request_body? I would setup a
specific location for 400 and 408s so not every request would be
logged.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Log Entire HTTP request (including body)

W. Andrew Loe III February 20, 2010 11:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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