See the accepted answer at ServerFault:
[…] if a request is chained through more than one proxy server, then each proxy should add the IP of the preceding one to the existing X-Forwarded-For header so that the entire chain is preserved.
X-Forwarded-For: <client>, <proxy1>, <proxy2>, ...