2023-05-26 06:02:08 +01:00
|
|
|
{...}: {
|
2023-05-26 08:52:46 +01:00
|
|
|
imports = [./default.nix];
|
2023-05-26 06:02:08 +01:00
|
|
|
services.traefik.dynamicConfigOptions.http = {
|
|
|
|
routers.syncthing = {
|
|
|
|
rule = "Host(`syncthing.xenia.me.uk`)";
|
|
|
|
entryPoints = ["http" "https"];
|
|
|
|
service = "syncthing-webinterface";
|
|
|
|
middlewares = ["auth"];
|
|
|
|
tls = {certResolver = "default";};
|
|
|
|
};
|
|
|
|
services.syncthing-webinterface.loadBalander.servers = [{url = "http://localhost:8384";}];
|
|
|
|
};
|
|
|
|
}
|