Fix local rewrites in Adguardhome

This commit is contained in:
Evie Litherland-Smith 2024-12-07 20:16:08 +00:00
parent 8606e88f56
commit 79d946c196

View file

@ -17,16 +17,20 @@
];
ratelimit = 0;
safe_search.enabled = true;
rewrites = [
{
domain = "xenia.me.uk";
answer = "192.168.0.31";
}
{
domain = "*.xenia.me.uk";
answer = "A"; # "192.168.1.230";
}
];
rewrites =
let
local = "192.168.0.31";
in
[
{
domain = "xenia.me.uk";
answer = local;
}
{
domain = "*.xenia.me.uk";
answer = local;
}
];
blocked_services.ids = [ ];
};
filtering = {