WIP: Use hut as binary cache #89

Draft
abonerib wants to merge 4 commits from abonerib/jungle:77-hut-cache into master

4 Commits

Author SHA1 Message Date
Aleix Boné
5cd8372c4c
Add instructions on how to use the cache in the web 2025-02-26 18:25:51 +01:00
Aleix Boné
982fc647cf
Use hut-substituter module in owl{1,2} and raccoon 2025-02-26 16:47:57 +01:00
Aleix Boné
89fc9fb163
Add module to use hut as a binary substituter 2025-02-26 16:47:57 +01:00
Aleix Boné
5d549df767
Fix nginx /cache regex
`nix-serve` does not handle duplicates in the path:
```
hut$ curl http://127.0.0.1:5000/nix-cache-info
StoreDir: /nix/store
WantMassQuery: 1
Priority: 30
hut$ curl http://127.0.0.1:5000//nix-cache-info
File not found.
```

This meant that the cache was not accessible via:
`curl https://jungle.bsc.es/cache/nix-cache-info` but
`curl https://jungle.bsc.es/cachenix-cache-info` worked.
2025-02-26 15:31:05 +01:00