/status?json&full is not suppressed when access.suppress_path used
未关闭
还没有人认领这个 Issue。
Feature
SAPI: fpm
- 主要语言
- C
- 星标
- 40.4k
- 派生
- 8.1k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 96
描述
Description
The following php-fpm configuration is supposed to not log requests made on /status:
[www]
pm = "static"
pm.max_children = 5
pm.process_idle_timeout = 1m;
pm.max_requests = 500
pm.status_path = /status
access.suppress_path[] = /status
However, the Docker container running from the image php:8.2-fpm, is still logging it:
127.0.0.1 - 16/Dec/2022:10:39:41 +0000 "GET /status" 200
Is this the expected behavior?
PHP Version
8.2.0
Operating System
No response
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用此处描述的 PHP-FPM 配置和 php:8.2-fpm Docker 镜像复现该问题,然后跟踪对 pm.status_path 的请求如何与 access.suppress_path 一起处理。确认是否应将 /status 排除在访问日志记录之外;当行为得到修正或预期行为得到清晰记录时即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- php
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100