[GH-ISSUE #2962] type=http时,开启proxy_protocol导致404响应 #2364

Closed
opened 2026-05-05 13:31:22 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @peaceanddemocracy on GitHub (May 30, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2962

Bug Description

type=http时,开启proxy_protocol导致404响应
页面是frp的默认404白底黑字页面
无论proxy_protocol=v1还是v2,都是一样情况

frpc Version

0.43.0

frps Version

0.43.0

System Architecture

arm,amd64

Configurations

[web02]
type = http
local_ip = 192.168.1.2
local_port = 80
custom_domains = *

if not empty, frpc will use proxy protocol to transfer connection info to your local service

v1 or v2 or empty

proxy_protocol_version = v2

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 @peaceanddemocracy on GitHub (May 30, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2962 ### Bug Description type=http时,开启proxy_protocol导致404响应 页面是frp的默认404白底黑字页面 无论proxy_protocol=v1还是v2,都是一样情况 ### frpc Version 0.43.0 ### frps Version 0.43.0 ### System Architecture arm,amd64 ### Configurations [web02] type = http local_ip = 192.168.1.2 local_port = 80 custom_domains = * # if not empty, frpc will use proxy protocol to transfer connection info to your local service # v1 or v2 or empty proxy_protocol_version = v2 ### 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 - [X] Others
Author
Owner

@Becods commented on GitHub (Jun 3, 2022):

proxy_protocol需要后端支持以及正确配置

请贴相关配置文件

<!-- gh-comment-id:1145840538 --> @Becods commented on GitHub (Jun 3, 2022): `proxy_protocol`需要后端支持以及正确配置 请贴相关配置文件
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#2364
No description provided.