CloudFoundry / Nginx / Grails and the X-Forwarded Header (Missing)
问题 Using CloudFoundry with Nginx, we're trying to get the X-Forwarded for header out in grails, but we can't seem to do so. It's either blank or the IP address of the Nginx server. We often create sites where users are allowed to vote, and we want to be sure that they only vote once. Therefore, we'd like to use a combination of their network gateway (router) ip address and their X-Forwarded-For (internal) ip address so that we can check if people have already voted without having to block their