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 = {
|
collabora-online = {
|
||||||
enable = false;
|
enable = true;
|
||||||
#package = stable.collabora-online;
|
#package = stable.collabora-online;
|
||||||
port = 9980;
|
port = 9980;
|
||||||
settings = {
|
settings = {
|
||||||
@@ -124,14 +124,14 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
onlyoffice = {
|
onlyoffice = {
|
||||||
enable = true;
|
enable = false;
|
||||||
package = work.onlyoffice-documentserver;
|
# package = work.onlyoffice-documentserver;
|
||||||
hostname = "0.0.0.0";
|
hostname = "0.0.0.0";
|
||||||
jwtSecretFile = "${inputs.zeroq-credentials}/services/onlyoffice/jwt.txt";
|
jwtSecretFile = "${inputs.zeroq-credentials}/services/onlyoffice/jwt.txt";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts.fonts = [ work.corefonts ];
|
fonts.packages = [ work.corefonts ];
|
||||||
|
|
||||||
|
|
||||||
networking.hosts = {
|
networking.hosts = {
|
||||||
|
|||||||
@@ -58,17 +58,9 @@ in
|
|||||||
kTLS = true;
|
kTLS = true;
|
||||||
locations = {
|
locations = {
|
||||||
"/" = {
|
"/" = {
|
||||||
proxyPass = "http://${server}:8000"; # API и coauthoring
|
proxyPass = "http://${server}:9980"; # API и coauthoring
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
# "/web-apps/" = {
|
|
||||||
# proxyPass = "http://${server}:8000/web-apps/"; # фронтенд
|
|
||||||
# proxyWebsockets = true;
|
|
||||||
# };
|
|
||||||
# "/coauthoring/" = {
|
|
||||||
# proxyPass = "http://${server}:8000/coauthoring/"; # coauthoring WS
|
|
||||||
# proxyWebsockets = true;
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
client_max_body_size 5G;
|
client_max_body_size 5G;
|
||||||
|
|||||||
Reference in New Issue
Block a user