News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SMF thinks only server is browsing due to Nginx

Started by belljak, October 10, 2015, 05:54:47 AM

Previous topic - Next topic

belljak

I have installed VestaCP on ubuntu 14. it has Nginx configured.
My website  usually has 2000+ guests but now it shows 3 or 4 guests.
In Users online list it shows my server IP browsing.

Does anyone has solutions?

belljak

Found solution here hxxp:forum.vestacp.com/viewtopic.php?f=10&t=6650#p20197 [nonactive]

6TiME6

The solution is to use mod_rpaf or mod_remoteip with your Apache to read the X-Forwarded-For (or X-Real-IP) headers from NGINX. VestaCP doesn't do pure NGINX, it just uses NGINX as a reverse proxy in-front of Apache.

Advertisement: