mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
123
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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 = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user