You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
The text was updated successfully, but these errors were encountered:
abcfy2
changed the title
[TODO]反向代理添加X-Real-IP,X-Forwarded-For,X-Forwarded-Proto三个头
[TODO]反向代理添加X-Real-IP,X-Forwarded-For,X-Forwarded-Proto,UA四个头
Aug 11, 2017
abcfy2
added a commit
to abcfy2/dgate
that referenced
this issue
Aug 12, 2017
经过dgate的请求到了后端看到的始终是dgate发过来的请求。为了能让后端得到真正的用户请求,便于真正的后端对客户端进行某些统计,计划仿照反向代理的通用做法,添加这三个HTTP Header,告知后端真正的用户ip。
同时,添加
User-Agent
头,以便于后台统计用户浏览器The text was updated successfully, but these errors were encountered: