[GH-ISSUE #2615] 是否能够在配置中使用通配符 #2083

Closed
opened 2026-05-05 13:20:23 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @herui119110 on GitHub (Oct 11, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2615

Describe the feature request

#frpc配置
[web1]
type = http
local_ip = 127.0.0.1
local_port = 80
custom_domains =www.min1.com,www.min2.com,www.min3.com,www.min4.com,.....
#我希望能够通配所有的域名都指向我的80端口,通过类似于*.*.*的泛域名方式,否则我需要一条一条的写这样很麻烦,请问有通配的方法吗?

Describe alternatives you've considered

custom_domains =www.min1.com,www.min2.com,www.min3.com,www.min4.com,.....

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @herui119110 on GitHub (Oct 11, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2615 ### Describe the feature request #frpc配置 [web1] type = http local_ip = 127.0.0.1 local_port = 80 custom_domains =www.min1.com,www.min2.com,www.min3.com,www.min4.com,..... #我希望能够通配所有的域名都指向我的80端口,通过类似于*.*.*的泛域名方式,否则我需要一条一条的写这样很麻烦,请问有通配的方法吗? ### Describe alternatives you've considered custom_domains =www.min1.com,www.min2.com,www.min3.com,www.min4.com,..... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:20:23 -06:00
Author
Owner

@ziyoren commented on GitHub (Oct 14, 2021):

关注

<!-- gh-comment-id:943460195 --> @ziyoren commented on GitHub (Oct 14, 2021): 关注
Author
Owner

@XieB commented on GitHub (Nov 6, 2021):

[web-local]
type = http
local_port = 8881
custom_domains = *.aa.com

貌似和你的需求不同?

<!-- gh-comment-id:962408998 --> @XieB commented on GitHub (Nov 6, 2021): [web-local] type = http local_port = 8881 custom_domains = *.aa.com 貌似和你的需求不同?
Author
Owner

@github-actions[bot] commented on GitHub (Dec 7, 2021):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:987429472 --> @github-actions[bot] commented on GitHub (Dec 7, 2021): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#2083
No description provided.