s2i-php-container
s2i-php-container copied to clipboard
Question: How to disable logging for healthcheck
As of now, I have a healthcheck.php that is generating lots of access logs on my server. This script file is used by the Liveness and Readiness pods. How can we disable this behavior by editing the Apache configuration?. I can't find a reliable way to do this in s2i PHP docs. In docs, it is mentioned that we will be able to add .htaccess file to modify the configuration, but not all apache configs can be changed via .htaccess.