October 20, 2018

Getting visitors IP address

  Zone Management


Once you have NuevoCloud setup for your website, requests will be routed through NuevoCloud's servers. When NuevoCloud contacts your origin server, it will add an X-Forwarded-For header to the request. If there is not an existing X-Forwarded-For header in the request, NuevoCloud will add it:

X-Forwarded-For: A.B.C.D

where A.B.C.D is the visitor IP address. If the header already exists, NuevoCloud will append the visitor IP address to the header:

X-Forwarded-For: a.a.a.a, b.b.b.b, A.B.C.D