/status?json&full is not suppressed when access.suppress_path used
Open
Nobody has claimed this yet.
Feature
SAPI: fpm
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue using the PHP-FPM configuration and the php:8.2-fpm Docker image described here, then trace how requests to pm.status_path are handled alongside access.suppress_path. Confirm whether /status should be excluded from access logging; done when the behavior is corrected or the expected behavior is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100