Ignore logging requests from the gitea runner

Reviewed-by: Aleix Boné <abonerib@bsc.es>
This commit is contained in:
Rodrigo Arias 2024-09-20 15:44:22 +02:00
parent 0e3c975cb5
commit def5955614

View File

@ -37,6 +37,10 @@ in
proxy_pass http://127.0.0.1:3000; proxy_pass http://127.0.0.1:3000;
proxy_redirect http:// $scheme://; 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 { location /cache {
rewrite ^/cache(.*) /$1 break; rewrite ^/cache(.*) /$1 break;
proxy_pass http://127.0.0.1:5000; proxy_pass http://127.0.0.1:5000;