1
0
Fork 0
forked from emily/nixfiles
This commit is contained in:
emily 2024-05-11 20:09:40 +02:00
parent c2fc1660bf
commit 43340ba8a9
Signed by untrusted user: emily
GPG key ID: F6F4C66207FCF995

View file

@ -15,6 +15,7 @@
minimumDiskFree = 2; minimumDiskFree = 2;
useSubstitutes = true; useSubstitutes = true;
extraConfig = '' extraConfig = ''
server_store_uri = https://cache.kyouma.net
binary_cache_public_uri = https://cache.kyouma.net binary_cache_public_uri = https://cache.kyouma.net
evaluator_workers = 8 evaluator_workers = 8
evaluator_max_memory_size = 4096 evaluator_max_memory_size = 4096
@ -32,9 +33,7 @@
kyouma.nginx.virtualHosts = { kyouma.nginx.virtualHosts = {
"hydra.kyouma.net".locations."/".proxyPass = "http://localhost:3000"; "hydra.kyouma.net".locations."/".proxyPass = "http://localhost:3000";
"cache.kyouma.net" = { "cache.kyouma.net" = {
locations."/" = { locations."/".proxyPass = "http://[::1]:5555";
proxyPass = "http://[::1]:5555";
};
locations."= /" = { locations."= /" = {
return = ''200 'Public key:\n\ncache.kyouma.net:Frjwu4q1rnwE/MnSTmX9yx86GNA/z3p/oElGvucLiZg=' ''; return = ''200 'Public key:\n\ncache.kyouma.net:Frjwu4q1rnwE/MnSTmX9yx86GNA/z3p/oElGvucLiZg=' '';
extraConfig = '' extraConfig = ''