nixos-config/hosts/vault-tec/routes.nix
gwg313 701051522a
feat: add panopticon(attic cache server)
Signed-off-by: gwg313 <gwg313@pm.me>

attic client

Signed-off-by: gwg313 <gwg313@pm.me>
2025-07-09 08:08:39 -04:00

20 lines
405 B
Nix

{
imports = [
./services.nix
];
services.traefik = {
dynamicConfigOptions = {
http = {
routers = {
attic_local = {
entryPoints = [ "websecure" ];
rule = "Host(`cache.gwg313.xyz`)";
service = "attic_local";
tls.certResolver = "le";
middlewares = [ "headers" ];
};
};
};
};
};
}