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 = { nextcloud-whiteboard-server = {
enable = true; enable = true;
settings = { settings = {
NEXTCLOUD_URL = "https://nextcloud.zeroq.ru"; NEXTCLOUD_URL = "https://nextcloud.local";
}; };
secrets = [ "${inputs.zeroq-credentials}/services/nextcloud/jwt-secret.txt" ]; secrets = [ "${inputs.zeroq-credentials}/services/nextcloud/jwt-secret.txt" ];
}; };
nextcloud = { nextcloud = {
enable = true; enable = true;
package = pkgs.nextcloud31; package = pkgs.nextcloud31;
hostName = "localhost:10000"; hostName = "nextcloud.local";
database.createLocally = true; database.createLocally = true;
home = "/mnt/nextcloud"; home = "/mnt/nextcloud";
configureRedis = true; configureRedis = true;
+6 -2
View File
@@ -13,7 +13,7 @@
recommendedProxySettings = true; recommendedProxySettings = true;
recommendedTlsSettings = true; recommendedTlsSettings = true;
virtualHosts = { virtualHosts = {
"localhost:10000" = { "nextcloud.local" = {
forceSSL = false; forceSSL = false;
enableACME = false; enableACME = false;
listen = [ listen = [
@@ -25,6 +25,10 @@
addr = "192.168.1.20"; addr = "192.168.1.20";
port = 10000; port = 10000;
} }
locations."/whiteboard" = {
proxyPass = "http://${server}:3002";
proxyWebsockets = true;
};
]; ];
}; };
# "trilium" = { # "trilium" = {
@@ -45,7 +49,7 @@
forceSSL = false; forceSSL = false;
enableACME = false; enableACME = false;
locations."/" = { locations."/" = {
proxyPass = "onlyoffice.local"; proxyPass = "http://onlyoffice.local:8000";
proxyWebsockets = true; proxyWebsockets = true;
}; };
extraConfig = '' extraConfig = ''