This commit is contained in:
2025-09-23 23:50:41 +03:00
parent c517858e0b
commit 5c62823ae9
3 changed files with 9 additions and 9 deletions
+5 -5
View File
@@ -80,7 +80,7 @@ in
notify_push notify_push
polls polls
previewgenerator previewgenerator
# richdocuments richdocuments
spreed spreed
tasks tasks
user_oidc user_oidc
@@ -118,16 +118,16 @@ in
# }; # };
onlyoffice = { onlyoffice = {
enable = true; enable = true;
hostname = "office.zeroq.ru"; hostname = "onlyoffice.local";
port = 8999; #port = 8999;
package = stable.onlyoffice-documentserver; #package = stable.onlyoffice-documentserver;
}; };
#rabbitmq.enable = false; #rabbitmq.enable = false;
}; };
networking.hosts = { networking.hosts = {
"0.0.0.0" = [ "0.0.0.0" = [
"office.zeroq.ru" "onlyoffice.local"
]; ];
# "127.0.0.1" = [ # "127.0.0.1" = [
# "nextcloud.zeroq.ru" # "nextcloud.zeroq.ru"
+3 -3
View File
@@ -41,17 +41,17 @@
# } # }
# ]; # ];
# }; # };
"office.zeroq.ru" = { "onlyoffice.local" = {
forceSSL = false; forceSSL = false;
enableACME = false; enableACME = false;
listen = [ listen = [
{ {
addr = "100.64.0.0"; addr = "100.64.0.0";
port = 8999; port = 8080;
} }
{ {
addr = "192.168.1.20"; addr = "192.168.1.20";
port = 8999; port = 8080;
} }
]; ];
extraConfig = '' extraConfig = ''
+1 -1
View File
@@ -21,7 +21,7 @@ in
forceSSL = true; forceSSL = true;
kTLS = true; kTLS = true;
locations."/" = { locations."/" = {
proxyPass = "http://${server}:8999"; proxyPass = "http://${server}:8080";
proxyWebsockets = true; # onlyoffice uses websockets proxyWebsockets = true; # onlyoffice uses websockets
}; };
extraConfig = '' extraConfig = ''