Portal Home > Knowledgebase > Articles Database > nginx weird problem


nginx weird problem




Posted by Yasmin_Hosticulture, 05-08-2012, 03:56 AM
After installing nginx, we have noticed that the visitor's IP addresses are recorded as server's own IP. To explain it, suppose you log in to the forum located on the same server, the forum admins will be able to see your IP. However, the IP would be shown as the server's OWN IP instead of the actual visitor's IP. We have had all the clients complaining the same which shows that this aint the problem with the forum script. Any clue how to fix it?

Posted by VPSWorldcom, 05-08-2012, 04:05 AM
I think you need to add additional header information like x-real-ip and x-forwarded-for into your nginx vhost config.

Posted by Yasmin_Hosticulture, 05-08-2012, 04:09 AM
Can you please elaborate a little more? Because I am not too familiar.

Posted by VPSWorldcom, 05-08-2012, 04:22 AM
Because this a new profile i cannot send you a link to the how to. But if you go to google and search on the follow keyword; nginx forward ip header You will find some articles about it.

Posted by Yasmin_Hosticulture, 05-08-2012, 04:35 AM
Yes I did find some articles, but they weren't very clear for a non-expert. Last edited by Yasmin_Hosticulture; 05-08-2012 at 04:50 AM.

Posted by mrtonyg, 05-08-2012, 08:42 AM
You run a hosting business, yet you are a "non-expert"??!! Last edited by mrtonyg; 05-08-2012 at 08:45 AM.

Posted by BeZazz, 05-08-2012, 08:45 AM
If you are using cPanel I would recommend http://nginxcp.com/

Posted by Yasmin_Hosticulture, 05-08-2012, 09:25 AM
Not every company is run by 1 person. I am into business development side. I just opened this thread out of curiosity.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
EZPZHosting Down? (Views: 828)
SoCheap Host Review (Views: 809)
reseller hosting trial (Views: 845)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.