2023-05-17 17:10:18 +01:00
|
|
|
{...}: {
|
2023-05-26 08:52:46 +01:00
|
|
|
imports = [./default.nix];
|
2023-05-11 11:54:42 +01:00
|
|
|
services.traefik.dynamicConfigOptions.http = {
|
2023-05-17 17:10:18 +01:00
|
|
|
routers.adguard = {
|
|
|
|
rule = "Host(`guard.xenia.me.uk`)";
|
2023-05-25 17:05:25 +01:00
|
|
|
entryPoints = ["http" "https"];
|
2023-05-17 17:10:18 +01:00
|
|
|
service = "adguard-webinterface";
|
|
|
|
tls = {certResolver = "default";};
|
|
|
|
};
|
|
|
|
services.adguard-webinterface.loadBalancer.servers = [{url = "http://localhost:3001";}];
|
2023-05-07 18:20:26 +01:00
|
|
|
};
|
|
|
|
}
|