Reverse Proxy and IPs: Remove or modify?
Posted: Sat Jan 09, 2016 11:30 pm
Hello. I've been working on my server lately and I've noticed that all visitors are under the same IP address, the server's IP. I looked up what was the problem, and I've seen that it's nginx being used as a reverse proxy.
The cons of removing this I've seen is slower load times for your websites, but I really want to ask, what would be the better route?
I've heard of installing libapache2-mod-rpaf, but to my surprise I found it already installed. I am definitely not seeing the visitors' IPs being forwarded to the forum script i'm using. I need to know the IPs of the visitors in case of the need to IP ban someone or stop spam by blocking a range of addresses.
If it is better to uninstall nginx in this circumstance, can someone help me with the steps to do that without damaging my installation of VestaCP?
And if not, can someone tell me how to configure the nginx server to forward visitors' IP addresses to the forum software i'm using?
Or is there a third option I do not know about here? Am I wrong about any of the information I've gathered?
Thanks for the help!
The cons of removing this I've seen is slower load times for your websites, but I really want to ask, what would be the better route?
I've heard of installing libapache2-mod-rpaf, but to my surprise I found it already installed. I am definitely not seeing the visitors' IPs being forwarded to the forum script i'm using. I need to know the IPs of the visitors in case of the need to IP ban someone or stop spam by blocking a range of addresses.
If it is better to uninstall nginx in this circumstance, can someone help me with the steps to do that without damaging my installation of VestaCP?
And if not, can someone tell me how to configure the nginx server to forward visitors' IP addresses to the forum software i'm using?
Or is there a third option I do not know about here? Am I wrong about any of the information I've gathered?
Thanks for the help!