mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1524] https多端口监听代理 #1205
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1205
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @seklure on GitHub (Nov 18, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1524
想咨询一下如何通过https同一个域名不同端口实现代理?
配置如下:
frpc:
#[web01]
#type = https
#local_ip = 127.0.0.1
#local_port = 6690
#use_encryption = true
#use_compression = true
#custom_domains = www.test.cn
#[web02]
#type = https
#local_ip = 127.0.0.1
#local_port = 9898
#use_compression = true
#custom_domains = www.test.cn
@seklure commented on GitHub (Nov 18, 2019):
@fatedier 领导麻烦帮忙看一下呗,感谢!
@fatedier commented on GitHub (Nov 18, 2019):
同一域名,不同的本地服务,如果是同样的服务,想做负载均衡,可以尝试 负载均衡示例 。
如果是不同服务,建议还是通过域名或者端口区分开,可以直接做 tcp 类型的映射。