What's the best way to look at X-Forwarded-For headers going upstream from Layer0?

I can think of the following methods:

  1. To log them as response headers
  2. To view them in the server logs via a compute

Is there a way to see them directly somewhere?

You can enable deep request inspection as described here: Layer0 Documentation - Logs
and see all the request headers firectly that way