mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #865] 怎么设置映射到目录 #686
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#686
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 @lujingju on GitHub (Aug 2, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/865
请问一下 一个二级域名怎么用frp映射到目录 例如 test.abc.com 映射到 test.abc.com/test
@fatedier commented on GitHub (Aug 2, 2018):
Issue is only used for submiting bug report and documents typo.
@lujingju commented on GitHub (Aug 2, 2018):
哦,不好意思,那请问一下,这样的场景 现在的版本是否支持
@fatedier commented on GitHub (Aug 2, 2018):
https://github.com/fatedier/frp/blob/master/README_zh.md
https://github.com/fatedier/frp/blob/master/README_zh.md#%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6
@lujingju commented on GitHub (Aug 2, 2018):
我看了所有的frpc的配置,没有发现这个配置,其实对于nginx相当简单,只需简单配置root就行,但这就需要frp和nginx配合使用,我只想知道frpc有没有这个能力,没有我就直接上nginx 不折腾了.
@fatedier commented on GitHub (Aug 2, 2018):
文档和配置中的没有说明,通过相关功能无法实现的,那就是不支持了,所有能支持的功能文档和配置中都会做说明。
@lujingju commented on GitHub (Aug 2, 2018):
能不能考虑在未来的版本中添加,相当于域名重写.
@fatedier commented on GitHub (Aug 2, 2018):
http 相关的需求点太多了,在这个工具里实现过于麻烦,不如结合现有的组件一起使用,例如你提到的 nginx。
@lujingju commented on GitHub (Aug 2, 2018):
好的,其实url重写是很基本的需求,如果有时间 可以考虑添加,毕竟nginx和frp有很多重合的地方,有时候要引起不必要的冲突,调整改配置,看日志,很浪费维护时间.