guix-commits
[Top][All Lists]
Advanced

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

01/02: hydra: bishan: Fix the NGinx config for serving cached nars.


From: Christopher Baines
Subject: 01/02: hydra: bishan: Fix the NGinx config for serving cached nars.
Date: Thu, 19 Jan 2023 05:15:51 -0500 (EST)

cbaines pushed a commit to branch master
in repository maintenance.

commit fb2f655b7757eda0f67d751a9e11ee9adc4addcf
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Jan 19 10:13:22 2023 +0000

    hydra: bishan: Fix the NGinx config for serving cached nars.
    
    * hydra/bishan.scm (%nginx-server-blocks): Fix the NGinx config for
    serving cached nars.
---
 hydra/bishan.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hydra/bishan.scm b/hydra/bishan.scm
index f492379..060c03d 100644
--- a/hydra/bishan.scm
+++ b/hydra/bishan.scm
@@ -64,7 +64,7 @@
            (body '("
     internal;
     root /var/cache/nar-herder;
-    try_files /nar/$1;
+    try_files /nar/$1 =404;
 
     error_page 404 /404;
     client_body_buffer_size 256k;



reply via email to

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