hosts/hydra-1: Serve plain nix store on cache.nix.clerie.de
This commit is contained in:
parent
199e6e1791
commit
3b0e66dc01
@ -37,6 +37,18 @@
|
||||
locations."= /index.txt" = {
|
||||
root = ./cache.nix.clerie.de;
|
||||
};
|
||||
locations."= /nix/store/" = {
|
||||
extraConfig = ''
|
||||
return 404;
|
||||
'';
|
||||
};
|
||||
locations."/nix/store/" = {
|
||||
root = "/";
|
||||
extraConfig = ''
|
||||
autoindex on;
|
||||
autoindex_exact_size off;
|
||||
'';
|
||||
};
|
||||
locations."/" = {
|
||||
proxyPass = "http://[::1]:5005";
|
||||
extraConfig = ''
|
||||
|
Loading…
Reference in New Issue
Block a user