minio / sidekick

High Performance HTTP Sidecar Load Balancer
GNU Affero General Public License v3.0
546 stars 82 forks source link

Set `X-Real-IP` header with proper public IP of client #82

Closed shtripat closed 1 year ago

shtripat commented 1 year ago

In case of local client localhost or 127.0.0.1 get the public IP and report the same in request headers X-Forwarded-Host, X-Forwarded-For and X-Real-Ip