# Get client ip address in https mode

**URL:** https://discourse.haproxy.org/t/get-client-ip-address-in-https-mode/1081
**Category:** Help!
**Created:** [March 15, 2017, 1:53am UTC](https://discourse.haproxy.org/t/get-client-ip-address-in-https-mode/1081 "2017-03-15T01:53:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![alex41](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@alex41](https://discourse.haproxy.org/u/alex41)
#### Post date: [March 15, 2017, 1:53am UTC](https://discourse.haproxy.org/t/get-client-ip-address-in-https-mode/1081/1 "2017-03-15T01:53:16Z")

</div>

Hi All

Do you know how to get the client ip address in https mode ?

Best Regards  
Alex

---

<div class="post-metadata">

### Author: ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)
#### Post date: [March 15, 2017, 4:32pm UTC](https://discourse.haproxy.org/t/get-client-ip-address-in-https-mode/1081/2 "2017-03-15T16:32:21Z")

</div>

Use X-Forwarded-for or the proxy protocol.
