Evie Litherland-Smith
320d76f972
Separate service setup from traefik config for each, prep for future server separation
13 lines
379 B
Nix
13 lines
379 B
Nix
{...}: {
|
|
imports = [./default.nix];
|
|
services.traefik.dynamicConfigOptions.http = {
|
|
routers.adguard = {
|
|
rule = "Host(`guard.xenia.me.uk`)";
|
|
entryPoints = ["http" "https"];
|
|
service = "adguard-webinterface";
|
|
tls = {certResolver = "default";};
|
|
};
|
|
services.adguard-webinterface.loadBalancer.servers = [{url = "http://localhost:3001";}];
|
|
};
|
|
}
|