TOCICI Forums
September 03, 2010, 08:26:30 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Discuss services, help fellow customers, request new features and talk directly with our engineers here.

TOCICI's primary communication vector is via support tickets, we'll check-out and respond to forum discussions as our busy schedule permits. For prompt support, please email support@tocici.com
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: When using the Nginix proxy, why can't I see the connecting user's IP address?  (Read 122 times)
erth64net
Administrator
Newbie
*****

Karma: +0/-0
Offline Offline

Posts: 29


View Profile WWW
« on: June 05, 2010, 10:48:49 pm »

The very nature of using the Nginx accelerator changes the remote address of clients connecting to your VPS.

We use the industry-standard X-Forwarded-For HTTP header to convey the original IP address. With Apache, you just need to install mod_rpaf and configure it:
Code:
sudo apt-get install libapache2-mod-rpaf

To configure it, add the IP address of your Nginx accelerator to the RPAFproxy_ips line in its config file at /etc/apache2/mods-enabled/rpaf.conf. The IP of your Nginx accelerator is documented in your VPS setup email.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.073 seconds with 15 queries.