代理添加不行 #14388
Replies: 7 comments
This comment has been hidden.
This comment has been hidden.
-
需要重新审核,谢谢 |
Beta Was this translation helpful? Give feedback.
-
谢谢你的参与,不过你提供的我并未发现有效的解决方案 |
Beta Was this translation helpful? Give feedback.
-
https://docs.docker.com/compose/networking/ db:
image: postgres
ports:
- "8001:5432"
|
Beta Was this translation helpful? Give feedback.
-
抱歉我还是没办法理解这有助于解决我的问题,我在 PROXY_URL: "http://clash:7890" |
Beta Was this translation helpful? Give feedback.
-
给后面的朋友指条路,首先在 linux clash 上的 配置得是: allow-lan: true
bind-address: "*" 接着在 docker-compose.yml 文件中加入以下环境变量,这个 PROXY_PROTOCOL: http
PROXY_HOST: 172.17.0.1
PROXY_PORT: 7890 题外话,如果是其他容器也需要代理,就在 environment 中加入: - HTTP_PROXY=http://172.17.0.1:7890
- HTTPS_PROXY=http://172.17.0.1:7890 |
Beta Was this translation helpful? Give feedback.
-
Routes
Full routes
Related documentation
https://docs.rsshub.app/zh/install/config#%E4%BB%A3%E7%90%86%E9%85%8D%E7%BD%AE
What is expected?
正常运行
What is actually happening?
无论是 http 在 7890,还是 socks 在 7891,均是一样的结果
Deployment information
Self-hosted
Deployment information (for self-hosted)
OS: Ubuntu 20.04; Docker: 24.0.6, build ed223bc
Additional info
This is not a duplicated issue
Beta Was this translation helpful? Give feedback.
All reactions