13 lines
385 B
Nix
13 lines
385 B
Nix
|
{...}: {
|
||
|
imports = [./default.nix];
|
||
|
services.traefik.dynamicConfigOptions.http = {
|
||
|
routers.nextcloud = {
|
||
|
rule = "Host(`cloud.xenia.me.uk`)";
|
||
|
entryPoints = ["http" "https"];
|
||
|
service = "nextcloud-webinterface";
|
||
|
tls = {certResolver = "default";};
|
||
|
};
|
||
|
services.nextcloud-webinterface.loadBalancer.servers = [{url = "http://localhost:8000";}];
|
||
|
};
|
||
|
}
|