# Proxy of "real\_ip"

**URL:** <https://www.ruby-forum.com/t/proxy-of-real-ip/231846>\
**Category:** NGINX\
**Created:** [September 2, 2014, 6:29pm UTC](https://www.ruby-forum.com/t/proxy-of-real-ip/231846 "2014-09-02T18:29:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [September 2, 2014, 6:29pm UTC](https://www.ruby-forum.com/t/proxy-of-real-ip/231846/1 "2014-09-02T18:29:38Z")

</div>

Hello,  
Is there a variable which stores the IP address of the proxy if I use  
the  
real-ip module.  
E.g. to log the client-ip as well as the proxy-ip (the IP address of the  
physical connection).  
Thanks a lot!

Posted at Nginx Forum:

> **[proxy of "real\_ip"](https://forum.nginx.org/read.php?2,253024,253024#msg-253024)**
>
> Hello, Is there a variable which stores the IP address of the proxy if I use the real-ip module. E.g. to log the client-ip as well as the proxy-ip (the IP address of the physical connection). Thanks a lot!

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 2, 2014, 9:19pm UTC](https://www.ruby-forum.com/t/proxy-of-real-ip/231846/2 "2014-09-02T21:19:32Z")

</div>

Hello!

On Tue, Sep 02, 2014 at 12:29:06PM -0400, double wrote:

> Hello,  
> Is there a variable which stores the IP address of the proxy if I use the  
> real-ip module.  
> E.g. to log the client-ip as well as the proxy-ip (the IP address of the  
> physical connection).  
> Thanks a lot!

No.

–  
Maxim D.

> **[nginx](http://nginx.org/)**
