traefik / whoami

Tiny Go server that prints os information and HTTP request to output

Home Page:https://traefik.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add X-Forwarded-For to access log

shalak opened this issue · comments

commented

When running whoami behind traefik, we cannot distinguish from access log which host has made a request to it - they all come from traefik. Adding the X-Forwarded-For or X-Real-IP would be a great addition.

whoami already display all headers.

commented

But not in access log - it returns the headers to client, and client may not have any output capabilities.

whoami doesn't write access log.