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

服务器位于大陆时的一些问题及解决方案 #14

Merged
merged 1 commit into from
Dec 9, 2020

Conversation

guoyongchang
Copy link
Contributor

@guoyongchang guoyongchang commented Dec 9, 2020

服务器位于大陆时的一些问题及解决方案

github.com的源加速方案不是百分百可靠,会有检测,默认的curl脚本不会跟着302,wget没有问题,可以考虑使用wget解决

root@cc-zhenjiang-ct:~# curl -L https://hub.fastgit.org/naiba/nezha/releases/latest/download/nezha-agent_linux_amd64.tar.gz
<html><meta charset="utf-8" /><title>检测中</title><div>跳转中</div></html>
<script> window.location.href ="/naiba/nezha/releases/download/v0.1.9/nezha-agent_linux_amd64.tar.gz?btwaf=68873680"; </script>

@naiba naiba merged commit 532435d into nezhahq:master Dec 9, 2020
@naiba
Copy link
Member

naiba commented Dec 9, 2020

有时间的话会优化脚本,你这个方案不错,但是agent自动更新还是会从github的release下载

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

Successfully merging this pull request may close these issues.

2 participants