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 = {
|
||||
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;
|
||||
|
||||
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user