This commit is contained in:
cnlh
2020-01-13 18:31:03 +08:00
parent f73a55f254
commit 0af9943540
5 changed files with 14 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
# 说明
## 获取用户真实ip
如需使用需要在`nps.conf`中设置`http_add_origin_header=true`
在域名代理模式中可以通过request请求 header 中的 X-Forwarded-For 和 X-Real-IP 来获取用户真实 IP。