nginx官方文档对remote_addr的描述,仅仅简单的提到这是client ip!
pic

官方文档说明, pic

nginx.conf配置:

pic