2023-05-26 08:52:46 +01:00
|
|
|
{...}: {
|
|
|
|
imports = [./default.nix];
|
|
|
|
services.traefik.dynamicConfigOptions.http = {
|
|
|
|
routers.nextcloud = {
|
|
|
|
rule = "Host(`cloud.xenia.me.uk`)";
|
|
|
|
entryPoints = ["http" "https"];
|
|
|
|
service = "nextcloud-webinterface";
|
2023-05-26 10:21:38 +01:00
|
|
|
middlewares = ["hsts"];
|
2023-05-26 08:52:46 +01:00
|
|
|
tls = {certResolver = "default";};
|
|
|
|
};
|
|
|
|
services.nextcloud-webinterface.loadBalancer.servers = [{url = "http://localhost:8000";}];
|
|
|
|
};
|
|
|
|
}
|