don't show /v1/api/system/healthcheck/ in access log.

This commit is contained in:
arabcoders
2025-05-17 22:00:44 +03:00
parent 9e7f85d77b
commit 56d1836f80
2 changed files with 2 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ EXPOSE 8080
# Health check.
#
HEALTHCHECK --interval=1m --timeout=3s CMD curl -f http://localhost:8080/v1/api/system/healthcheck || exit 1
HEALTHCHECK --interval=10s --timeout=3s CMD curl -f http://localhost:8080/v1/api/system/healthcheck || exit 1
# Run php-fpm
#

View File

@@ -19,6 +19,6 @@ final class HealthCheck
return api_response(Status::OK, [
'status' => 'ok',
'message' => 'System is healthy',
]);
], headers: ['X-No-AccessLog' => '1']);
}
}