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

[Bug]: 可以通过域名访问 /ui/login,但是后续的请求地址却是 127.0.0.1,而不是域名 || [Bug]: /ui/login can be accessed through the domain name, but the subsequent request address is 127.0.0.1, not the domain name #2378

Closed
JQiue opened this issue Mar 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@JQiue
Copy link

JQiue commented Mar 13, 2024

问题描述 | Describe the bug

image

问题网站 | Website URL

没有部署到外网

服务部署在哪里? | Where your waline deploy?

Self Host

数据存储在哪里?| Where your comment data store?

MySQL


Problem description | Describe the bug

image

Question Website | Website URL

Not deployed to the external network

Where is the service deployed? | Where your waline deploy?

Self Host

Where is the data stored? | Where your comment data store?

MySQL

@JQiue JQiue added the bug Something isn't working label Mar 13, 2024
@github-actions github-actions bot changed the title [Bug]: 可以通过域名访问 /ui/login,但是后续的请求地址却是 127.0.0.1,而不是域名 [Bug]: 可以通过域名访问 /ui/login,但是后续的请求地址却是 127.0.0.1,而不是域名 || [Bug]: /ui/login can be accessed through the domain name, but the subsequent request address is 127.0.0.1, not the domain name Mar 13, 2024
@lizheming
Copy link
Collaborator

lizheming commented Mar 13, 2024

nginx 里面需要加 proxy_set_header REMOTE-HOST $remote_addr;


You need to add proxy_set_header REMOTE-HOST $remote_addr;

@JQiue JQiue closed this as completed Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants