guix-commits
[Top][All Lists]
Advanced

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

03/04: hydra: bayfront: Support /file/ requests for bordeaux.guix.gnu.or


From: Christopher Baines
Subject: 03/04: hydra: bayfront: Support /file/ requests for bordeaux.guix.gnu.org.
Date: Thu, 19 Jan 2023 05:12:51 -0500 (EST)

cbaines pushed a commit to branch master
in repository maintenance.

commit 245bcfe39b3add6147bb72f4dd800843440ed025
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Tue Jan 17 09:33:46 2023 +0000

    hydra: bayfront: Support /file/ requests for bordeaux.guix.gnu.org.
    
    * hydra/bayfront.scm (%bordeaux.guix.gnu.org-nginx-servers): Support
    /file/ requests.
---
 hydra/bayfront.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index 74c9c80..c2ba83f 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -635,6 +635,10 @@ add_header Content-Type text/plain;")))
            (body '("proxy_pass http://nar-herder;";
                    "proxy_http_version 1.1;"
                    "proxy_set_header Connection \"\";")))
+          (nginx-location-configuration
+           (uri "/file/")
+           (body '("proxy_pass https://nar-storage;";
+                   "proxy_cache bordeaux-nar;")))
           (nginx-named-location-configuration
            (name "nar-storage")
            (body '("rewrite /internal/(.*) /$1 break;"



reply via email to

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