Nginx Proxy server - all site visitors have one server IP address

Hello, My dear friends! I have web server on Ubuntu 18.04 + Hestia control panel with apache2 + nginx proxy and now all visitors of my web site have the one IP address - this adress is IP address of my server. How to fix this problem, I want to see real IP adress of my visitors. I saw that the mod_realip2 module is designed to solve this problem, but how can I configure everything correctly?

Hi Abrikos, thanks for your request. Infact that Hestia is a Fork of VestaCP, you still could use this way here to implement the remoteip module: https://forum.vestacp.com/viewtopic.php?f=10&t=6650#p20197

1 Like

Yes, it’s helped me to solve the problem!

i have similar problem here HTTP_X_FORWARDED_FOR and nginx frontend server problems