Solved

NGINX - Pass real client IP to web servers

Posted on 2012-03-23
2
404 Views
Last Modified: 2012-03-26
nginx is currently passing the nginx public IP to my internal web servers.  Is there a a way to pass real client IP to web servers?
0
Comment
Question by:deklinm
2 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 250 total points
ID: 37760185
see http://wiki.nginx.org/HttpProxyModule how to set X-Forward-For HTTP header
0
 
LVL 40

Assisted Solution

by:noci
noci earned 250 total points
ID: 37760220
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question