Signed-off-by: gwg313 <gwg313@pm.me> attic client Signed-off-by: gwg313 <gwg313@pm.me>
20 lines
405 B
Nix
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" ];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|