mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1361] 可以多域名根据域名路由大到不同的应用吗? #1079
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#1079
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 @mengpengfei on GitHub (Aug 7, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1361
frpc.ini
[web01]
type = http
local_port = 80
custom_domains = web.yourdomain.com
locations = /
[web02]
type = http
local_port = 81
custom_domains = web.yourdomain.com
locations = /news,/about
这个能不能配置两个不同的域名,路由到具体的 web01或者web02
@fatedier commented on GitHub (Aug 7, 2019):
可以
@mengpengfei commented on GitHub (Aug 7, 2019):
然后reconnect是怎么回事啊
@mengpengfei commented on GitHub (Aug 7, 2019):
2019/08/07 19:55:59 [W] [http.go:223] http: proxy error: no such domain: www.damagou.top /apiv1/jiyanRecognize.html
2019/08/07 19:56:00 [I] [service.go:349] client login info: ip [223.72.48.65:25307] version [0.27.0] hostname [] os [windows] arch [amd64]
2019/08/07 19:56:01 [I] [http.go:72] [6d7d84e8f2b09ce7] [webhttp] http proxy listen for host [www.damagou.top] location []
2019/08/07 19:56:01 [I] [control.go:398] [6d7d84e8f2b09ce7] new proxy [webhttp] success
2019/08/07 19:56:01 [I] [tcp.go:66] [6d7d84e8f2b09ce7] [mysql] tcp proxy listen port [43306]
2019/08/07 19:56:01 [I] [control.go:398] [6d7d84e8f2b09ce7] new proxy [mysql] success
2019/08/07 19:56:01 [I] [tcp.go:66] [6d7d84e8f2b09ce7] [remote-desktop] tcp proxy listen port [43389]
2019/08/07 19:56:01 [I] [control.go:398] [6d7d84e8f2b09ce7] new proxy [remote-desktop] success
2019/08/07 19:56:01 [I] [https.go:47] [6d7d84e8f2b09ce7] [webssl] https proxy listen for host [www.damagou.top]
2019/08/07 19:56:01 [I] [control.go:398] [6d7d84e8f2b09ce7] new proxy [webssl] success
2019/08/07 19:56:08 [I] [proxy.go:82] [6d7d84e8f2b09ce7] [webhttp] get a new work connection: [223.72.48.65:25307]
2019/08/07 19:56:11 [I] [proxy.go:82] [6d7d84e8f2b09ce7] [webhttp] get a new work connection: [223.72.48.65:25307]
2019/08/07 19:56:29 [W] [control.go:395] [6d7d84e8f2b09ce7] new proxy [mysql] error: port already used
2019/08/07 19:56:29 [W] [control.go:395] [6d7d84e8f2b09ce7] new proxy [remote-desktop] error: port already used
2019/08/07 19:56:29 [W] [control.go:278] [6d7d84e8f2b09ce7] write message to control connection error: session shutdown
2019/08/07 19:56:29 [I] [proxy.go:69] [6d7d84e8f2b09ce7] [mysql] proxy closing
2019/08/07 19:56:29 [I] [proxy.go:135] [6d7d84e8f2b09ce7] [mysql] listener is closed
2019/08/07 19:56:29 [I] [proxy.go:69] [6d7d84e8f2b09ce7] [remote-desktop] proxy closing
2019/08/07 19:56:29 [I] [proxy.go:135] [6d7d84e8f2b09ce7] [remote-desktop] listener is closed
2019/08/07 19:56:29 [I] [proxy.go:69] [6d7d84e8f2b09ce7] [webssl] proxy closing
2019/08/07 19:56:29 [I] [proxy.go:69] [6d7d84e8f2b09ce7] [webhttp] proxy closing
2019/08/07 19:56:29 [I] [control.go:350] [6d7d84e8f2b09ce7] client exit success
2019/08/07 19:56:29 [W] [http.go:223] http: proxy error: EOF
2019/08/07 19:56:29 [W] [http.go:223] http: proxy error: EOF
2019/08/07 19:56:29 [I] [proxy.go:135] [6d7d84e8f2b09ce7] [webssl] listener is closed
2019/08/07 19:56:31 [I] [service.go:349] client login info: ip [223.72.48.65:25312] version [0.27.0] hostname [] os [windows] arch [amd64]
2019/08/07 19:56:38 [W] [http.go:223] http: proxy error: no such domain: www.damagou.top /apiv1/userInfo.html
2019/08/07 19:56:38 [I] [tcp.go:66] [6d7d84e8f2b09ce7] [remote-desktop] tcp proxy listen port [43389]
2019/08/07 19:56:38 [I] [control.go:398] [6d7d84e8f2b09ce7] new proxy [remote-desktop] success
2019/08/07 19:56:38 [I] [https.go:47] [6d7d84e8f2b09ce7] [webssl] https proxy listen for host [www.damagou.top]
2019/08/07 19:56:38 [I] [control.go:398] [6d7d84e8f2b09ce7] new proxy [webssl] success
2019/08/07 19:56:38 [I] [tcp.go:66] [6d7d84e8f2b09ce7] [mysql] tcp proxy listen port [43306]
2019/08/07 19:56:38 [I] [control.go:398] [6d7d84e8f2b09ce7] new proxy [mysql] success
2019/08/07 19:56:38 [I] [http.go:72] [6d7d84e8f2b09ce7] [webhttp] http proxy listen for host [www.damagou.top] location []
2019/08/07 19:56:38 [I] [control.go:398] [6d7d84e8f2b09ce7] new proxy [webhttp] success
@mengpengfei commented on GitHub (Aug 7, 2019):
什么情况?