mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2550] http 类型配置 locations 访问会404 #2028
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#2028
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 @toohandsome on GitHub (Aug 25, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2550
frpc 与 frps 均运行在本机
已配置 hosts 127.0.0.1 web.yourdomain.com
版本为 dev 分支最新代码
frpc 配置
frps 配置
frpc 日志
frps 日志
多个版本均存在此问题

@fatedier commented on GitHub (Aug 26, 2021):
404 可能是你自己的 HTTP 服务返回的,你确认你自己的服务有 /about , /news 这些路径吗?
@toohandsome commented on GitHub (Aug 26, 2021):
frpc 中配置的 locations = /news ,这个意思不是 我访问 web.yourdomain.com/news 会帮我转发到 127.0.0.1:8080 吗
@github-actions[bot] commented on GitHub (Sep 26, 2021):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@AlessandroChecco commented on GitHub (Jan 26, 2022):
I interpreted it in the same way, but apparently not. I am wondering if there is another way to achieve this functionality
@touchmii commented on GitHub (Sep 1, 2022):
看来不是你想的那个作用,还是通过nginx反向代理来实现吧,要是frp直接直接就好了,方便走cdn。