My nix 2.15.1 queries /nar/<hash>-<name>.narinfo for some reason, so I had to
location ~ "^/nar/([a-z0-9]{32})-.*\.narinfo$" {
proxy_pass http://127.0.0.1:5000/$1.narinfo$is_args$args;
...
}
(It was worth to set it up though, I've seen ~10x speedups in synthetic local tests vs whatever's built into hydra.)
My nix 2.15.1 queries
/nar/<hash>-<name>.narinfofor some reason, so I had to(It was worth to set it up though, I've seen ~10x speedups in synthetic local tests vs whatever's built into hydra.)