This commit is contained in:
吕新雨
2026-01-28 20:50:17 +08:00
commit 049995692d
27 changed files with 1661 additions and 0 deletions

20
.envrc Normal file
View File

@@ -0,0 +1,20 @@
# 本项目代理(仅本目录生效;可用 direnv 自动加载,或手动 source
# 目标:将网络请求代理到本机 127.0.0.1:7897
export PROXY_HOST="127.0.0.1"
export PROXY_PORT="7897"
# HTTP/HTTPS 代理(多数 CLI 工具识别)
export http_proxy="http://${PROXY_HOST}:${PROXY_PORT}"
export https_proxy="http://${PROXY_HOST}:${PROXY_PORT}"
export HTTP_PROXY="http://${PROXY_HOST}:${PROXY_PORT}"
export HTTPS_PROXY="http://${PROXY_HOST}:${PROXY_PORT}"
# SOCKS5 代理(部分工具使用 ALL_PROXY
export all_proxy="socks5h://${PROXY_HOST}:${PROXY_PORT}"
export ALL_PROXY="socks5h://${PROXY_HOST}:${PROXY_PORT}"
# 本地地址不走代理(避免本地联调被误代理)
export no_proxy="localhost,127.0.0.1,::1"
export NO_PROXY="localhost,127.0.0.1,::1"