From ff41311cb56af57f91c2bd9c98611729670ba0f9 Mon Sep 17 00:00:00 2001 From: Xavier-Do Date: Tue, 22 Nov 2022 13:18:15 +0100 Subject: [PATCH] [FIX] runbot: add coverage access --- runbot/templates/nginx.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runbot/templates/nginx.xml b/runbot/templates/nginx.xml index 1c843991..81afd8a2 100644 --- a/runbot/templates/nginx.xml +++ b/runbot/templates/nginx.xml @@ -42,7 +42,9 @@ server { location /runbot/static/ { alias ; autoindex off; - location ~ /runbot/static/build/[^/]+/(logs|tests)/ { + return 404; + location /runbot/static/src { } + location ~ /runbot/static/build/[^/]+/(logs|tests|coverage)/ { autoindex on; add_header 'Access-Control-Allow-Origin' ''; }