mirror of
https://github.com/projectsend/projectsend.git
synced 2026-10-03 21:03:17 +00:00
f9e08412f2
#1804 dropped every /up request from the nginx access log, so the container's health checks stopped flooding `docker logs`. That also hid the failing ones: when the container goes unhealthy, the 5xx from /up is the line someone looks for, and Docker's health status alone does not say why. Key the map on the status as well as the path, so only a 2xx /up is dropped. Verified against the 2.6.0 image: a 503 /up logs, a 200 /up does not, and a 200 /upload still logs.