关于透传客户端真实IP的问题
#1253
Replies: 2 comments
-
这个不清楚,与 nginx-ui 无关 |
Beta Was this translation helpful? Give feedback.
0 replies
-
![]() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
之前本地部署的nginx日志里还有客户端真实的请求IP,现在用了容器化的nginx-ui,conf文件继承了老的nginx配置文件,但日志里只有一个127.0.0.1的地址和10.0.0.2的地址,前者好理解,后者这个10.0.0.2的IP我查了也不是nginx-ui自己本身的容器IP,这哪里来的?
10.0.0.2 - - [22/Jul/2025:10:12:39 +0800] "POST /mgxd/api/execute HTTP/1.1" 200 411 "-" "Apache-HttpClient/5.3.1 (Java/17-ea)"
127.0.0.1 - - [22/Jul/2025:10:12:40 +0800] "GET /stub_status HTTP/1.1" 200 115 "-" "Go-http-client/1.1"
127.0.0.1 - - [22/Jul/2025:10:12:45 +0800] "GET /stub_status HTTP/1.1" 200 115 "-" "Go-http-client/1.1"
127.0.0.1 - - [22/Jul/2025:10:12:50 +0800] "GET /stub_status HTTP/1.1" 200 115 "-" "Go-http-client/1.1"
127.0.0.1 - - [22/Jul/2025:10:12:55 +0800] "GET /stub_status HTTP/1.1" 200 115 "-" "Go-http-client/1.1"
10.0.0.2 - - [22/Jul/2025:10:13:00 +0800] "POST /mgxd-uat-xxljob/run HTTP/1.1" 200 12 "-" "Java/1.8.0_342"
10.0.0.2 - - [22/Jul/2025:10:13:00 +0800] "POST /mgxd-uat-xxljob/run HTTP/1.1" 200 12 "-" "Java/1.8.0_342"
Beta Was this translation helpful? Give feedback.
All reactions