guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: hydra: bayfront: Add nginx location of hpc.guix.i


From: Ludovic Courtès
Subject: branch master updated: hydra: bayfront: Add nginx location of hpc.guix.info/channels/.
Date: Wed, 13 Dec 2023 17:07:35 -0500

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

civodul pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new 70b31c0  hydra: bayfront: Add nginx location of 
hpc.guix.info/channels/.
70b31c0 is described below

commit 70b31c0e2ad1a280d000996fcc222b692f4058aa
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Dec 13 23:07:02 2023 +0100

    hydra: bayfront: Add nginx location of hpc.guix.info/channels/.
    
    * hydra/bayfront.scm (%hpc.guix.info-nginx-servers): Add location block
    for /channels.
---
 hydra/bayfront.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index f4e7ae0..314f7dc 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -410,8 +410,11 @@ add_header X-Frame-Options SAMEORIGIN;\n")
            (uri "/channel/")
            (body '("proxy_pass http://localhost:5000;";)))
           (nginx-location-configuration
-           (uri "/channels")
+           (uri "= /channels")
            (body '("proxy_pass http://localhost:5000;";)))
+          (nginx-location-configuration
+           (uri "= /channels/")       ;XXX: triggers 500 in hpcguix-web 0.4.0
+           (body '("return 301 $scheme://hpc.guix.info/channels")))
 
           ;; JS for hpcguix-web
           (nginx-location-configuration



reply via email to

[Prev in Thread] Current Thread [Next in Thread]