Files
mindfulness/.envrc
吕新雨 049995692d init
2026-01-28 20:50:17 +08:00

21 lines
789 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 本项目代理(仅本目录生效;可用 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"