AdguardTeam / AdguardTeam/AdGuardHome

我希望通过代理访问互联网,但是http_proxy容器变量好像不起作用 translation:I want to access the internet through a proxy, but it seems like the http_proxy container variable is not working.

未关闭
#6,880 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
36.9k
派生
2.5k
PR 合并指标
30 天内没有已合并 PR

描述

### Prerequisites

- [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer

- [X] I have searched other issues and found no duplicates

- [X] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a)

- [X] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.)

### Platform (OS and CPU architecture)

Custom (please mention in the description)

### Installation

Docker

### Setup

On one machine

### AdGuard Home version

latest

### Action

我配置dns黑名单的时候,添加上面自带的列表时提示无法连接,于是我通过其他的话题发现要添加http_proxy容器变量,我设置了它为http://192.168.1.5:20172,但是依旧不行,它不起作用。随后我又尝试在此基础上更改了.yaml的配置文件里的http_proxy为http://192.168.1.5:20172,但是依旧不行。我还尝试了同时设置了http_proxy和https_proxy变量,就像jellyfin容器设置的那样。依旧不行,最后同上面一样在此基础上更改了.yaml的配置文件,添加了https_proxy并同上设置。但还是不行

translation by chatgpt:
When I was configuring the DNS blacklist, I encountered a problem where I couldn't connect when trying to add the default list provided. Then, through other discussions, I found out that I needed to add the http_proxy container variable. I set it to http://192.168.1.5:20172/, but it still didn't work; it had no effect. Later, I attempted to change the http_proxy variable in the .yaml configuration file based on this, but it still didn't work. I also tried setting both the http_proxy and https_proxy variables simultaneously, as done in the Jellyfin container settings. Still, it didn't work. Finally, following the same approach as before, I added the https_proxy to the .yaml configuration file, but it still didn't work.

### Expected result

添加dns黑名单成功

translation by chatgpt:

Successfully added DNS blacklist.

### Actual result

添加失败

translation by chatgpt:
Addition failed.

### Additional information and/or screenshots

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。