Restoring the original visitor IP to VestaCP

If you use the hosting control panel VestaCP, you have both Nginx and Apache running on your server. Requests are proxied through Nginx before going to Apache.

Because of this Nginx proxy, you actually need to follow the instructions to configure Nginx to return the real visitor IP address. Mod_cloudflare for apache is not needed unless you disable the Nginx server for some requests. (Adding mod_cloudflare to apache will not conflict with the Nginx server configuration.)

Configuring Nginx to return the real user's IP Address using Cloudflare

Still not finding what you need?

The CloudFlare team is here to help. 95% of questions can be answered using the search tool, but if you can’t find what you need, submit a support request.

Powered by Zendesk