求助!在docker compose文件中配置socks5代理 #574
Unanswered
wwwxxx0402
asked this question in
Q&A
Replies: 1 comment 3 replies
-
(?xi)\A([a-z][a-z0-9+-.]*://)?(0(.0){3}|127(.0){2}.1|localhost|[::(\d+)?]|gebi1\.com)(:[0-9]+)? 填这个试试 应该就可以了 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
配置为:
- PROXIES=socks5://192.168.255.1:56656
- PROXY_DIRECT_MODE=regexp
- PROXY_DIRECT=(?xi)\A([a-z][a-z0-9+-.]*://)?(0(.0){3}|127(.0){2}.1|localhost|[::([\d]+)?]|gebi1.com)(:[0-9]+)?
现在已经可以所有任务默认走socks5代理了,但是在proxy_direct中配置的gebi1.com直连并没有生效,该如何配置呢?问了gpt,给出的配置为
- PROXY_DIRECT=gebi1/.com
但这样配置后不知道为什么所有的任务都无法运行,会报api://util/xxxxxxxx 的错误
Beta Was this translation helpful? Give feedback.
All reactions