For testing purposes, I am using nginx to listen on multiple ports when I send distributed http requests. I can see the request be received by nginx - but I need to know which of its ports actually got it. I can't see any options in the logs to flag this.
I guess an ugly alternative is to install multiple instances so their logs are separated, but there must be a better way than this...?