mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3086] [Feature Request] #2471
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#2471
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 @touchmii on GitHub (Sep 1, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/3086
Describe the feature request
能否通过定义path路由到不同的端口,类似nginx的location,目前的locations配置好想没有这个作用。
想要实现通过访问vhost端口加定义路径就能替代subdomain的作用直接路径到指定服务,如下面的配置
访问 x.x.x.x:80/web1 可以替代 web1.domain.com:80的效果,虽然可以使用nginx反向代理来实现,但是
配置多个服务还是不太方便,想要使用path主要是考虑想走cdn,这样只需一个域名即可。
[web1]
type = http
local_ip = 127.0.0.1
local_port = 8080
#remote_port = 17400
#subdomain = web1
#locations = /web1
path = /web1
Describe alternatives you've considered
No response
Affected area
@github-actions[bot] commented on GitHub (Oct 2, 2022):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.