mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4403] [Feature Request] 基于uri路径的http代理模式 #3478
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#3478
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 @lqian on GitHub (Aug 24, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4403
Describe the feature request
目前很多智能设备内置了HTTP服务用于管理设备,这些设备http服务的使用率并不高。如果用customDomain去做http代理,则需要为这些设备申请域名,如果用端口模式的http代理,则这些端口的利用率非常低。
比如有一系列的设备序列号a,b,c,d,,,,,,且假设有一个域名ops.xxx.top, 能否支持基于uri路径的http代理模式,
http://ops.xxx.top/a 映射到设备a的http 80端口
http://ops.xxx.top/b 映射到设备b的http 80端口 ?
Describe alternatives you've considered
No response
Affected area
@xjetry commented on GitHub (Aug 25, 2024):
You can do this with OpenResty
server side:
frps.toml
nginx server block
client side:
frpc.toml
open-resty server block
docker-compose:
visit: https://foo.bar/a/echo
@lqian commented on GitHub (Aug 25, 2024):
great!