[GH-ISSUE #3329] [Feature Request] 无法通过修改配置文件取消http_proxy环境变量设置的代理 #2667

Closed
opened 2026-05-05 13:43:15 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @yyjdelete on GitHub (Feb 22, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3329

Describe the feature request

应该有某种方式可以在配置文件中设置不走代理(即使http_proxy环境变量设置了一个代理服务器), 当前版本可以http_proxy = 设置为另一个代理, 但不允许通过这种方式取消代理的设置

Describe alternatives you've considered

允许通过设置如http_proxy = none之类的配置来覆盖并忽略环境变量中的代理

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @yyjdelete on GitHub (Feb 22, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3329 ### Describe the feature request 应该有某种方式可以在配置文件中设置不走代理(即使http_proxy环境变量设置了一个代理服务器), 当前版本可以`http_proxy = `设置为另一个代理, 但不允许通过这种方式取消代理的设置 ### Describe alternatives you've considered 允许通过设置如`http_proxy = none`之类的配置来覆盖并忽略环境变量中的代理 ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [x] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (Feb 22, 2023):

启动应用时,主动设置此环境变量值为空。

<!-- gh-comment-id:1439688434 --> @fatedier commented on GitHub (Feb 22, 2023): 启动应用时,主动设置此环境变量值为空。
Author
Owner

@yyjdelete commented on GitHub (Feb 22, 2023):

我错了, 在配置文件里面设置http_proxy = none是能正常取消的, 空字符串不行

<!-- gh-comment-id:1439693227 --> @yyjdelete commented on GitHub (Feb 22, 2023): 我错了, 在配置文件里面设置`http_proxy = none`是能正常取消的, 空字符串不行
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2667
No description provided.