Setup nginx to log X-Forwarded-For IPs properly. Add forwarded IP test