php / php/php-src

/status?json&full is not suppressed when access.suppress_path used

Đang mở
#10,116 14 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Feature SAPI: fpm
Ngôn ngữ chính
C
Star
40.4k
Fork
8.2k
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
96

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Riprodurre il problema utilizzando la configurazione PHP-FPM e l’immagine Docker php:8.2-fpm descritte qui, quindi tracciare come vengono gestite le richieste a pm.status_path insieme ad access.suppress_path. Confermare se /status debba essere escluso dalla registrazione degli accessi; il lavoro è completato quando il comportamento viene corretto oppure il comportamento previsto viene documentato chiaramente.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
php
Lĩnh vực
backend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.