cbaines pushed a commit to branch master
in repository maintenance.

commit 840c6f350473055feb46ed2f99c117176e3caf45
Author: Christopher Baines <[email protected]>
AuthorDate: Tue Jan 17 09:32:29 2023 +0000

    hydra: bishan: Enable /file/ requests to the nar-herder.
    
    This has been supported for some time, but now with a recent version
    of Guile Fibers, it doesn't take excessive amounts of memory to
    support these requests.
    
    * hydra/bishan.scm (%nginx-server-blocks): Enable /file/ requests.
---
 hydra/bishan.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hydra/bishan.scm b/hydra/bishan.scm
index 99d791e..ad3c664 100644
--- a/hydra/bishan.scm
+++ b/hydra/bishan.scm
@@ -27,6 +27,9 @@
           (nginx-location-configuration
            (uri "/nar/")
            (body '("proxy_pass http://nar-herder;";)))
+          (nginx-location-configuration
+           (uri "/file/")
+           (body '("proxy_pass http://nar-herder;";)))
           (nginx-named-location-configuration
            (name "nar-storage-location")
            (body '("rewrite /internal/(.*) /$1 break;"

Reply via email to