[GH-ISSUE #2668] C端无法访问php文件,html正常访问,PHP提示404 not found #2129

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

Originally created by @okwindows on GitHub (Nov 19, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2668

Bug Description

C端无法访问php文件,html正常访问,PHP提示404 not found

frpc Version

0.38.0

frps Version

0.38.0

System Architecture

centos

Configurations

server{ listen 80; server_name *.test.xxx.com; location / { proxy_pass http://xx.xx.xx.xx:7001; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header REMOTE-HOST $remote_addr; } }

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 @okwindows on GitHub (Nov 19, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2668 ### Bug Description C端无法访问php文件,html正常访问,PHP提示404 not found ### frpc Version 0.38.0 ### frps Version 0.38.0 ### System Architecture centos ### Configurations `server{ listen 80; server_name *.test.xxx.com; location / { proxy_pass http://xx.xx.xx.xx:7001; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header REMOTE-HOST $remote_addr; } }` ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:22:09 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 20, 2021):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:997495371 --> @github-actions[bot] commented on GitHub (Dec 20, 2021): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#2129
No description provided.