feat: setup nextcloud whiteboard server

This commit is contained in:
Khaïs COLIN 2025-08-08 17:06:31 +02:00
parent d89ca1ac60
commit 944a1a4ebf
Signed by: logistic-bot
SSH key fingerprint: SHA256:3zI3/tx0ZpCLHCLPmEaGR4oeYCPMCzQxXhXutBmtOAU

View file

@ -335,6 +335,13 @@
configureRedis = true; configureRedis = true;
maxUploadSize = "64G"; maxUploadSize = "64G";
}; };
services.nextcloud-whiteboard-server = {
enable = true;
secrets = ["/etc/nixos/secrets/nextcloud/whiteboard_secrets"];
settings = {
NEXTCLOUD_URL = "https://nextcloud.005540.xyz";
};
};
# dynamic dns # dynamic dns
services.ddclient = { services.ddclient = {
@ -446,6 +453,10 @@
}; };
"nextcloud.005540.xyz" = { "nextcloud.005540.xyz" = {
locations."/".proxyWebsockets = true; locations."/".proxyWebsockets = true;
locations."/whiteboard/" = {
proxyWebsockets = true;
proxyPass = "http://localhost:3002/";
};
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
}; };