I want to set up a nginx rule that will log every request ever made on my site including cookies. For example for a single php script I can get the full request body with this code:
print_r($_SERVER);
But I want to log every request that is being made on php scripts on my nginx server. Any idea how to do it?
Thank you
tcpdump tcp port 80