feat: setup nextcloud whiteboard server
This commit is contained in:
parent
d89ca1ac60
commit
944a1a4ebf
1 changed files with 11 additions and 0 deletions
11
void.nix
11
void.nix
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue