The other day, I had a weird situation on an nginx server.
I read a little, thought a little, but I didn’t figure it out. I thought about turning up logging, but I was concerned about the increase in disk IO changing the issue. If only there were a way to turn on debug logging just for an IP…
There is, and it’s called debug_connection! (I was able to figure the issue out in just a few minutes.)