[GH-ISSUE #2154] 支持相同域名不同端口的配置嘛? #1714

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

Originally created by @openbytes on GitHub (Dec 16, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/2154

`[example]
type = http
local_port = 80
custom_domains = www.example.com

[example2]
type = http
local_port = 20030
custom_domains = www.example.com`

Originally created by @openbytes on GitHub (Dec 16, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/2154 `[example] type = http local_port = 80 custom_domains = www.example.com [example2] type = http local_port = 20030 custom_domains = www.example.com`
Author
Owner

@yuyulei commented on GitHub (Dec 17, 2020):

目前针对 http 形式的 proxy,通过共用端口(vhost_port)并以域名来做路由实现,暂时支持不了你这种需求。如果你不需要 http 层面的特性,可以同 tcp 来代替,tcp 支持自己指定端口。

<!-- gh-comment-id:747162170 --> @yuyulei commented on GitHub (Dec 17, 2020): 目前针对 http 形式的 proxy,通过共用端口(vhost_port)并以域名来做路由实现,暂时支持不了你这种需求。如果你不需要 http 层面的特性,可以同 tcp 来代替,tcp 支持自己指定端口。
Author
Owner

@openbytes commented on GitHub (Dec 17, 2020):

好的.谢谢您.大佬.我目前是启用两个配置文件,启动两个frpc进程来进行同域名代理的.

<!-- gh-comment-id:747259423 --> @openbytes commented on GitHub (Dec 17, 2020): 好的.谢谢您.大佬.我目前是启用两个配置文件,启动两个frpc进程来进行同域名代理的.
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#1714
No description provided.