From 88e65b5c333d10260782df6be887d03b8a0f7731 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Fri, 20 Dec 2024 16:38:06 +0100 Subject: [PATCH] fix(users/flokli/nixos-tvix-cache): bump nginx read timeout This is a bandaid until we have a proper fix. Change-Id: Id9f0bab5f309a7796c1efee23071013618c6dd12 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12896 Autosubmit: Jonas Chevalier Tested-by: BuildkiteCI Reviewed-by: flokli --- users/flokli/nixos/nixos-tvix-cache/nar-bridge.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/users/flokli/nixos/nixos-tvix-cache/nar-bridge.nix b/users/flokli/nixos/nixos-tvix-cache/nar-bridge.nix index f8aa8a7b4..27164108f 100644 --- a/users/flokli/nixos/nixos-tvix-cache/nar-bridge.nix +++ b/users/flokli/nixos/nixos-tvix-cache/nar-bridge.nix @@ -21,6 +21,9 @@ locations."/" = { proxyPass = "http://unix:/run/nar-bridge.sock:/"; extraConfig = '' + # Sometimes it takes a while to download and unpack from upstream. + proxy_read_timeout 180s; + # Restrict allowed HTTP methods limit_except GET HEAD { # nar bridge allows to upload nars via PUT