【nginx】转发时带上真实ip
只需要修改下nginx配置即可: proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;