Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All users' ip displayed as "127.0.0.1" #4

Open
driver1748 opened this issue Dec 15, 2022 · 2 comments
Open

All users' ip displayed as "127.0.0.1" #4

driver1748 opened this issue Dec 15, 2022 · 2 comments

Comments

@driver1748
Copy link

image

Is this a WIP?
Meantime, should add a "Display my ip on the server" setting on the html, disabled by default.

@Yunmoan
Copy link
Member

Yunmoan commented Dec 22, 2022

因演示demo站点为防止直接获取源站采用的cdn代理,并使用nginx反代,所以发送到服务端的请求均为本地请求。
或许会在后续版本中逐步新增真实IP转发功能,若您是直接链接(不通过反代理后端),则此处显示的是您的真实IP地址。

如您需要移除该功能,可修改python代码中的回调部分。

@ravizhan
Copy link
Contributor

You can try to add proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; in your nginx proxy conf which may be of help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants