feat: add panopticon(attic cache server)
Signed-off-by: gwg313 <gwg313@pm.me> attic client Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
d4fa506bac
commit
701051522a
10 changed files with 460 additions and 2 deletions
20
hosts/vault-tec/routes.nix
Normal file
20
hosts/vault-tec/routes.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue