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 <zimbatm@zimbatm.com> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
parent
5b4497c733
commit
88e65b5c33
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://unix:/run/nar-bridge.sock:/";
|
proxyPass = "http://unix:/run/nar-bridge.sock:/";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
# Sometimes it takes a while to download and unpack from upstream.
|
||||||
|
proxy_read_timeout 180s;
|
||||||
|
|
||||||
# Restrict allowed HTTP methods
|
# Restrict allowed HTTP methods
|
||||||
limit_except GET HEAD {
|
limit_except GET HEAD {
|
||||||
# nar bridge allows to upload nars via PUT
|
# nar bridge allows to upload nars via PUT
|
||||||
|
|
Loading…
Reference in a new issue