feat: enable http cache

This commit is contained in:
Noa Aarts 2024-10-21 10:43:46 +02:00
parent 9f8865441b
commit d697845887
Signed by: noa
GPG key ID: 1850932741EFF672
2 changed files with 12 additions and 7 deletions

View file

@ -45,11 +45,6 @@
};
};
nix.sshServe = {
enable = true;
keys = import ../../common/ssh-keys.nix;
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
@ -135,6 +130,12 @@
};
services = {
nix-serve = {
enable = true;
package = pkgs.nix-serve-ng;
secretKeyFile = "/secrets/nix-store-key.pem";
port = 22332;
};
github-runners = {
flurry-runner = {
enable = true;
@ -233,6 +234,7 @@
};
"calendar.itepastra.nl" = proxy "itepastra.nl" "http://[::1]:29341";
"cache.itepastra.nl" = proxy "itepastra.nl" "http://[::1]:22332";
};
};
};
@ -250,6 +252,7 @@
"itepastra.nl".extraDomainNames = [
"locked.itepastra.nl"
"calendar.itepastra.nl"
"cache.itepastra.nl"
];
};
};