[GH-ISSUE #3603] Nginx 代理 FRP 7500端口 报 404 错误 #2875

Closed
opened 2026-05-05 13:51:32 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @aienuo on GitHub (Sep 8, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3603

Bug Description

1、FRPS 配置
image

2、Nginx 配置
image

3、Nginx 访问日志:
{"status":"404","log_date":"2023-09-08T11:00:31+08:00","client_ip":"39.85.86.167","request":"GET /frp/mange/ HTTP/1.1","request_time":"0.001","size":"19","upstream_addr":"127.0.0.1:7500","upstream_status":"404","upstream_time":"0.000","url":"/frp/mange/","http_referrer":"-","http_x_forwarded_for":"-","http_user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.69"}

4、浏览器报错
image

frpc Version

frps Version

0.51.2

System Architecture

linux/amd64

Configurations

image

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
Originally created by @aienuo on GitHub (Sep 8, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3603 ### Bug Description 1、FRPS 配置 ![image](https://github.com/fatedier/frp/assets/47814002/2c2a1fb2-421b-4304-8448-d1b1bd51bccd) 2、Nginx 配置 ![image](https://github.com/fatedier/frp/assets/47814002/2cfdde12-52c7-472a-9361-0904e94fdeaa) 3、Nginx 访问日志: {"status":"404","log_date":"2023-09-08T11:00:31+08:00","client_ip":"39.85.86.167","request":"GET /frp/mange/ HTTP/1.1","request_time":"0.001","size":"19","upstream_addr":"127.0.0.1:7500","upstream_status":"404","upstream_time":"0.000","url":"/frp/mange/","http_referrer":"-","http_x_forwarded_for":"-","http_user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.69"} 4、浏览器报错 ![image](https://github.com/fatedier/frp/assets/47814002/d2587c63-4e16-434f-aa4d-3e3b4008ab56) ### frpc Version 无 ### frps Version 0.51.2 ### System Architecture linux/amd64 ### Configurations ![image](https://github.com/fatedier/frp/assets/47814002/8678a501-dfa3-4d00-ab34-b2606fc5d9e3) ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@aienuo commented on GitHub (Sep 8, 2023):

Nginx 与 FRP 在同一台机器

<!-- gh-comment-id:1711027994 --> @aienuo commented on GitHub (Sep 8, 2023): Nginx 与 FRP 在同一台机器
Author
Owner

@aienuo commented on GitHub (Sep 8, 2023):

OK,可以关闭了,是我Nginx 配置有问题

<!-- gh-comment-id:1711028274 --> @aienuo commented on GitHub (Sep 8, 2023): OK,可以关闭了,是我Nginx 配置有问题
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2875
No description provided.