mirror of
https://github.com/kmein/niveum
synced 2026-03-19 19:41:08 +01:00
Revert "feat(nextcloud): move to cloud.kmein.de"
This reverts commit 8a45abae35.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
let
|
let
|
||||||
davHome = "~/.local/share/dav";
|
davHome = "~/.local/share/dav";
|
||||||
kmeinCloud = {
|
kmeinCloud = {
|
||||||
davEndpoint = "https://cloud.kmein.de/remote.php/dav";
|
davEndpoint = "https://cloud.xn--kiern-0qa.de/remote.php/dav";
|
||||||
username = "kieran";
|
username = "kieran";
|
||||||
password = lib.fileContents <secrets/nextcloud/password>;
|
password = lib.fileContents <secrets/nextcloud/password>;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ in
|
|||||||
startAt = "05:00:00";
|
startAt = "05:00:00";
|
||||||
};
|
};
|
||||||
|
|
||||||
hostName = "cloud.kmein.de";
|
hostName = "cloud.xn--kiern-0qa.de";
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
overwriteProtocol = "https";
|
overwriteProtocol = "https";
|
||||||
@@ -43,7 +43,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."cloud.kmein.de" = {
|
services.nginx.virtualHosts."cloud.xn--kiern-0qa.de" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -205,7 +205,7 @@ in
|
|||||||
] ++ (lib.mapAttrsToList (name: station: {
|
] ++ (lib.mapAttrsToList (name: station: {
|
||||||
"= /${name}/status".proxyPass = "http://127.0.0.1:${toString htgenPort}";
|
"= /${name}/status".proxyPass = "http://127.0.0.1:${toString htgenPort}";
|
||||||
"= /${name}/listen.ogg".proxyPass = "http://127.0.0.1:${toString station.streamPort}";
|
"= /${name}/listen.ogg".proxyPass = "http://127.0.0.1:${toString station.streamPort}";
|
||||||
"= /${name}.ogg".return = "301 http://radio.kmein.de/${name}/listen.ogg"; # legacy
|
"= /${name}.ogg".return = "301 http://radio.xn--kiern-0qa.de/${name}/listen.ogg"; # legacy
|
||||||
}) stations)
|
}) stations)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user