Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frp 使用route路由locations无效 #4281

Open
1 of 11 tasks
lucasjinreal opened this issue Jun 15, 2024 · 0 comments
Open
1 of 11 tasks

frp 使用route路由locations无效 #4281

lucasjinreal opened this issue Jun 15, 2024 · 0 comments

Comments

@lucasjinreal
Copy link

Bug Description

用的一个ini版本的frp,先不管版本。配置了route却一直报错404

[http2]
type = http
local_ip = 127.0.0.1
local_port = 8000
custom_domains = llm.xx.cn
remote_port = 8080 # server 8080 to call this, use same as all other clients
locations = ["/v1"]

[http2]
type = http
local_ip = 127.0.0.1
local_port = 8088
custom_domains = llm.xx.cn
remote_port = 8080
locations = ["/sd3"]

我本地curl本地8088端口是没有问题的。

curl http:https://127.0.0.1:8088/sd3
{"message":"Hello World, did you using frp get your local service out? this is SD3"}

但就是404

frpc Version

0.50.0

frps Version

0.50.0

System Architecture

linux

Configurations

No

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant