From 9bde1962f97109fcb46acf45c92b60fa48c566b3 Mon Sep 17 00:00:00 2001 From: Valeriy Svydenko Date: Fri, 6 Sep 2024 15:31:01 +0300 Subject: [PATCH] code cleanup Signed-off-by: Valeriy Svydenko --- dependencies/che-plugin-registry/build/dockerfiles/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dependencies/che-plugin-registry/build/dockerfiles/Dockerfile b/dependencies/che-plugin-registry/build/dockerfiles/Dockerfile index 26d70fd806..1f25fadb35 100644 --- a/dependencies/che-plugin-registry/build/dockerfiles/Dockerfile +++ b/dependencies/che-plugin-registry/build/dockerfiles/Dockerfile @@ -90,6 +90,8 @@ RUN \ RUN sed -i /etc/httpd/conf/httpd.conf \ -e "s,Listen 80,Listen 8080," \ -e "s,logs/error_log,/dev/stderr," \ + -e "//a SetEnvIf User-Agent \"^kube-probe/\" dontlog" \ + -e 's,CustomLog "logs/access_log" combined,CustomLog /dev/stdout combined env=!dontlog,' \ -e "s,AllowOverride None,AllowOverride All," && \ chmod a+rwX /etc/httpd/conf /etc/httpd/conf.d /run/httpd /etc/httpd/logs/