优化格式

master
XN 2023-05-31 10:25:54 +08:00
parent f2d5261805
commit b1f49075c5
1 changed files with 7 additions and 3 deletions

@ -232,11 +232,14 @@ acme.sh --issue ..... --debug 2
请参考: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
在DNS验证模式下如果debug中出现诸如"timed out"等字样可能是因为GFW拦截了相应请求需要添加http(s) proxy环境变量。请按照自己实际设定修改
`export http_proxy="socks5h://localhost:1081" && export https_proxy="socks5h://localhost:1081" `
```
export http_proxy="socks5h://localhost:1081" && export https_proxy="socks5h://localhost:1081"
```
如果是使用docker则完整示例配置如下
`
```
docker run --rm -it \
-v "/etc/acme":/acme.sh \
-e "CF_Token=[填入自己的信息]" \
@ -247,7 +250,8 @@ docker run --rm -it \
--network container:[代理A]\
neilpang/acme.sh \
--issue -d example.com --dns dns_cf --debug
`
```
上述例子中使用cloudflare的DNS来签发证书并通过把acme.sh链接到容器[代理A]来转发curl请求请按照自己实际设定修改
最后, 本文并非完全的使用说明, 还有很多高级的功能, 更高级的用法请参看其他 wiki 页面.