重建时卡在获取 acme.sh 脚本

hello, discourse

when i rebuild, it stop on curl https://raw.githubusercontent.com/acmesh-official/acme.sh/3.0.6/acme.sh > /opt/acme.sh
my server is in chinese,
how can i do on this with my server.

两个问题:这个预编译文件在我的中文服务器上也花费了大量时间,是否可以跳过它并直接构建核心?

在中国大陆的服务器上重建时,您可能需要代理。

3 个赞

这是关于预编译资源的公告

如建议的,您可能需要一个代理或其他方法来获取 acme。如果需要,您可以分叉或以其他方式修改 web.letsencrypt.ssl.template.yml 以从其他地方检索 acme.sh

2 个赞

是的,这两个都完美运行,非常感谢。:rose:
ssl:我将其更改为代理:
curl https://ghfast.top/https://raw.githubusercontent.com/acmesh-official/acme.sh/3.0.6/acme.sh \u003e /opt/acme.sh
预编译:DISCOURSE_DOWNLOAD_PRE_BUILT_ASSETS 这个效果非常好。

1 个赞

太好了!

添加代理有更好的方法。

下次更改模板并执行 git pull 时,您很可能会遇到错误。您可以执行 git stash 来暂存您的更改。

1 个赞