The old boy teaches one question a day-day 80-how to implement the Nginx agent's node access log to record the customer's IP instead of the agent's IP?
reference answer
Use proxy_set_header parameter in proxy reverse proxy module
proxy_set_header X-Forwarded-For $remote_addr; Note
Today is the 80th day of the daily question accompanying everyone. I look forward to your progress.
For any questions about the questions and answers, please leave a comment in the comments section of the blog.
Index of Past Issues
http://lidao.blog.51cto.com/3388056/1914205