From def59556147fcbb6d949b72a2c6ced4e73654823 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 20 Sep 2024 15:44:22 +0200 Subject: [PATCH] Ignore logging requests from the gitea runner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Aleix Boné --- m/hut/nginx.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/m/hut/nginx.nix b/m/hut/nginx.nix index f42aad7..a606894 100644 --- a/m/hut/nginx.nix +++ b/m/hut/nginx.nix @@ -37,6 +37,10 @@ in proxy_pass http://127.0.0.1:3000; proxy_redirect http:// $scheme://; } + # Ignore logging the gitea CI requesting tasks all the time + location /git/api/actions/runner.v1.RunnerService/FetchTask { + access_log off; + } location /cache { rewrite ^/cache(.*) /$1 break; proxy_pass http://127.0.0.1:5000;