This is an automated email from the git hooks/post-receive script.

cbaines pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new 04513f2  hydra: bayfront: Stop nginx rendering bordeaux builds as the 
log.
04513f2 is described below

commit 04513f2ee318130229fc00cab32d7a99e4b53c4b
Author: Christopher Baines <[email protected]>
AuthorDate: Sun Apr 30 18:55:27 2023 +0200

    hydra: bayfront: Stop nginx rendering bordeaux builds as the log.
    
    Instead the frontend will handle these requests.
    
    * hydra/bayfront.scm (%bordeaux.guix.gnu.org-nginx-servers): Remove
    /build/... location, and improve regex for /build/.../log location.
---
 hydra/bayfront.scm | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index 5902462..9bd7e4d 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -668,12 +668,7 @@ add_header Content-Type text/plain;")))
     gzip off;
 ")))
           (nginx-location-configuration
-           (uri "~ \"\\/build\\/([a-z0-9-]{36})$\"")
-           ;; At some point a detailed page for each build would be
-           ;; nice, but for now, just show the log file.
-           (body '("rewrite /(.*) /$1/log last;")))
-          (nginx-location-configuration
-           (uri "~ /build/(.*)/log$")
+           (uri "~ /build/([a-z0-9-]{36})/log$")
            (body '("alias /var/lib/guix-build-coordinator/build-logs/$1/log;"
                    "add_header Content-Type 'text/plain; charset=UTF-8';"
                    "gzip_static always;"

Reply via email to