mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 12:40:44 +03:00
123
This commit is contained in:
@@ -94,7 +94,7 @@ in
|
||||
};
|
||||
};
|
||||
collabora-online = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
#package = stable.collabora-online;
|
||||
port = 9980;
|
||||
settings = {
|
||||
@@ -124,14 +124,14 @@ in
|
||||
};
|
||||
};
|
||||
onlyoffice = {
|
||||
enable = true;
|
||||
package = work.onlyoffice-documentserver;
|
||||
enable = false;
|
||||
# package = work.onlyoffice-documentserver;
|
||||
hostname = "0.0.0.0";
|
||||
jwtSecretFile = "${inputs.zeroq-credentials}/services/onlyoffice/jwt.txt";
|
||||
};
|
||||
};
|
||||
|
||||
fonts.fonts = [ work.corefonts ];
|
||||
fonts.packages = [ work.corefonts ];
|
||||
|
||||
|
||||
networking.hosts = {
|
||||
|
||||
@@ -58,17 +58,9 @@ in
|
||||
kTLS = true;
|
||||
locations = {
|
||||
"/" = {
|
||||
proxyPass = "http://${server}:8000"; # API и coauthoring
|
||||
proxyPass = "http://${server}:9980"; # API и coauthoring
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
# "/web-apps/" = {
|
||||
# proxyPass = "http://${server}:8000/web-apps/"; # фронтенд
|
||||
# proxyWebsockets = true;
|
||||
# };
|
||||
# "/coauthoring/" = {
|
||||
# proxyPass = "http://${server}:8000/coauthoring/"; # coauthoring WS
|
||||
# proxyWebsockets = true;
|
||||
# };
|
||||
};
|
||||
extraConfig = ''
|
||||
client_max_body_size 5G;
|
||||
|
||||
Reference in New Issue
Block a user