1 Reply Latest reply on Jan 21, 2014 12:14 PM by PlayerSpaceJeff

    Configuring CF10 to use X-forwarded-for instead of remote_addr

    PlayerSpaceJeff

      I am using an AWS instance behind a load balancer with NAT. It has its advantages, but one of its disadvantages is the remote_addr coming through is the remote_addr of the ELB.

       

      http://leaguemanager.playerspace.com/test.cfm

       

      What I'm trying to do is trick or configure the CF10 Administrator > Debugging and Logging > Enabled Request Debugging Output to use the x-forwarded-for as opposed to the remote_addr so I can use server debugging without that information being made visible to the public.

       

      Is this possible by, say, modifying a file somewhere, to have the IP addresses set in Debugging and Logging > Debugging IP Addresses to be matched with the true client's personal IP (x-forwarded-for)?

       

      JS