Get the App
SLTechnology News&Howtos  ›  Servers  › 

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?

Shulou Source: shulou.com Published: 2022-06-03 07:58:24 12月06日 Update

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

Tags: Answers questions agents blogs parameters comments modules questions indexes references comments progress customers logs boys nodes education Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info vpn MariaDB NVidia Redmi