This commit is contained in:
2025-09-23 23:30:12 +03:00
parent 8ff84c3c87
commit 97fabb65e9
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ in
onlyoffice = { onlyoffice = {
enable = true; enable = true;
hostname = "onlyoffice.local"; hostname = "onlyoffice.local";
port = 8000; port = 8999;
package = stable.onlyoffice-documentserver; package = stable.onlyoffice-documentserver;
}; };
#rabbitmq.enable = false; #rabbitmq.enable = false;
+2 -2
View File
@@ -47,11 +47,11 @@
listen = [ listen = [
{ {
addr = "100.64.0.0"; addr = "100.64.0.0";
port = 8000; port = 8999;
} }
{ {
addr = "192.168.1.20"; addr = "192.168.1.20";
port = 8000; port = 8999;
} }
]; ];
extraConfig = '' extraConfig = ''
+2 -1
View File
@@ -21,11 +21,12 @@ in
forceSSL = true; forceSSL = true;
kTLS = true; kTLS = true;
locations."/" = { locations."/" = {
proxyPass = "http://${server}:8000"; proxyPass = "http://${server}:8999";
proxyWebsockets = true; # onlyoffice uses websockets proxyWebsockets = true; # onlyoffice uses websockets
}; };
extraConfig = '' extraConfig = ''
client_max_body_size 5G; client_max_body_size 5G;
absolute_redirect off;
''; '';
}; };
"collabora.zeroq.ru" = { "collabora.zeroq.ru" = {