Remove exception to fetch task endpoint

It causes the request to go to the website rather than the Gitea
service.

Reviewed-by: Aleix Boné <abonerib@bsc.es>
This commit is contained in:
Rodrigo Arias 2024-10-22 16:13:01 +02:00
parent bdfe9a48fd
commit 45dc4124a3

View File

@ -37,10 +37,6 @@ 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;