mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[GH-ISSUE #579] 无法连接https://acme-v02.api.letsencrypt.org/directory #4718
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#4718
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chung1912 on GitHub (Sep 26, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/579
无法连接https://acme-v02.api.letsencrypt.org/directory ,问题是我docker配置了系统代理一样不能连接,在docker内部,当我配置了http_proxy之后,通过 curl -I https://acme-v02.api.letsencrypt.org/directory 是可以正常连接的,但是ACME用户的时候似乎不会走系统代理,导致仍然无法连接
@0xJacky commented on GitHub (Sep 26, 2024):
这个域名在大陆可以正常访问的吧?
@0xJacky commented on GitHub (Sep 26, 2024):
因为目前项目还没有做 http 请求的代理配置,就算是修改环境变量,也要重启服务,我不太确定你的设置方法是否能在程序中读取到 http_proxy 的环境变量,后续可能会考虑增加一个全局的 http 代理设置
不过我还是比较好奇为什么 https://acme-v02.api.letsencrypt.org/directory 不能访问?您是在大陆使用的哪个提供商,我这边测的阿里腾讯都是可以访问的
@chung1912 commented on GitHub (Sep 26, 2024):
不是云服务,是NAS,应该是被运营商墙了,之前用nginx manager也是靠设置docker全局代理解决。。但是Nginx UI不能适配docker环境变量HTTP_PROXY
@0xJacky commented on GitHub (Sep 26, 2024):
我了解了,我后面加个配置项就好了,在这个配置出来之前,可以先配置一下软路由的代理策略(如果有)
@0xJacky commented on GitHub (Oct 7, 2024):
beta.36 针对这个问题,将会加入两项功能
推荐使用功能 2 进行设置,因为功能 1 中的全局代理,将会使得服务发出的所有请求经过代理服务器,造成不必要的时延或安全问题。