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

[求助] 设置自定义域名后访问自定义域名大量308 redirect #4360

Closed
sergeylzc opened this issue Mar 20, 2024 · 7 comments
Closed

Comments

@sergeylzc
Copy link

sergeylzc commented Mar 20, 2024

我fork了一份代码,采用的安装方式是 vercel 傻瓜式部署,部署完成后,访问vercel提供的域名访问正常,后设置了自定义域名访问就会出现308 redirect:
image

控制台 Network 不断308 redirect:
image

我的域名的 nameserver 是在 cloudflare 的。

有人遇到这样的问题不?不知道怎么解决呀...

@nextchat-manager
Copy link

Please follow the issue template to update title and description of your issue.

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Help] After setting up a custom domain name, a large number of 308 redirects are received when accessing the custom domain name.

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


@Issues-translate-bot

@sergeylzc
Copy link
Author

换了nameserver后解决了。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


It was solved after changing the nameserver.

@FelixMotorcycle
Copy link

FelixMotorcycle commented Mar 21, 2024 via email

@CuSO4Deposit
Copy link

解决方案:将 Cloudflare SSL/TLS 配置设置为 "Full"。

Here is a quick summary of the issue:

ref: https://vercel.com/guides/resolve-err-too-many-redirects-when-using-cloudflare-proxy-with-vercel

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

4 participants