Changes between Initial Version and Version 1 of Ticket #2127
- Timestamp:
- 01/25/21 08:29:53 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified Ticket #2127 – Description
initial v1 20 20 X-Real-IP = a.a.a.a 21 21 -> X-Forwarded-For should be a.a.a.a, b.b.b.b 22 What I need is the ability to set first proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for and then search for real IP and replace $remote_addr value.23 22 23 So here I am loosing info about my load balancer. 24 25 Right now for getting proper ips in my webapp I need to use a workaround of setting X-forwarded-for as: 26 proxy_set_header X-Forwarded-For "$http_x_forwarded_for, $realip_remote_addr"; 27 28 What I need is the ability to set first proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for and then search for real IP and replace $remote_addr value. Or maybe another variable similar to $proxy_add_x_forwarded_for which retains the load balancer ip.