cbaines pushed a commit to branch master
in repository maintenance.
commit fb2f655b7757eda0f67d751a9e11ee9adc4addcf
Author: Christopher Baines <[email protected]>
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;