This commit is contained in:
2025-09-24 18:58:25 +03:00
parent 4c26501126
commit b59493a9c9
2 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -17,14 +17,14 @@ in
nextcloud-whiteboard-server = {
enable = true;
settings = {
NEXTCLOUD_URL = "https://nextcloud.zeroq.ru";
NEXTCLOUD_URL = "https://nextcloud.local";
};
secrets = [ "${inputs.zeroq-credentials}/services/nextcloud/jwt-secret.txt" ];
};
nextcloud = {
enable = true;
package = pkgs.nextcloud31;
hostName = "localhost:10000";
hostName = "nextcloud.local";
database.createLocally = true;
home = "/mnt/nextcloud";
configureRedis = true;
+6 -2
View File
@@ -13,7 +13,7 @@
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts = {
"localhost:10000" = {
"nextcloud.local" = {
forceSSL = false;
enableACME = false;
listen = [
@@ -25,6 +25,10 @@
addr = "192.168.1.20";
port = 10000;
}
locations."/whiteboard" = {
proxyPass = "http://${server}:3002";
proxyWebsockets = true;
};
];
};
# "trilium" = {
@@ -45,7 +49,7 @@
forceSSL = false;
enableACME = false;
locations."/" = {
proxyPass = "onlyoffice.local";
proxyPass = "http://onlyoffice.local:8000";
proxyWebsockets = true;
};
extraConfig = ''