I've built and configured a Nginx reverse proxy server.
I've got logging set to include $upstream_http_location
and other various variables.
The server that I'm proxying to does not return a location header which means that my $upstream_http_location
doesn't return anything.
I'd like to log my upstream request so that I'm able to see in logs what request I'm making to the upstream servers.
I'd like to know if there is a simple way to go about logging outbound requests made by Nginx without creating lua scripts, or if a lua script is the best way to go about this could someone provide direction in my search?