From ed98f86babfbeec359b4e5f2d5b182dfe2ab5c17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sun, 9 Oct 2022 00:59:32 +0800 Subject: nginx zero logs --- gitolite-cgit/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitolite-cgit/entrypoint.sh b/gitolite-cgit/entrypoint.sh index 184c50e..71342d1 100644 --- a/gitolite-cgit/entrypoint.sh +++ b/gitolite-cgit/entrypoint.sh @@ -325,8 +325,8 @@ EOF server_name localhost; # Logs - access_log off; - error_log off; + access_log /dev/null; + error_log /dev/null; root /usr/share/webapps/cgit; try_files \$uri @cgit; -- cgit v1.2.3