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
polls
previewgenerator
# richdocuments
richdocuments
spreed
tasks
user_oidc
@@ -118,16 +118,16 @@ in
# };
onlyoffice = {
enable = true;
hostname = "office.zeroq.ru";
port = 8999;
package = stable.onlyoffice-documentserver;
hostname = "onlyoffice.local";
#port = 8999;
#package = stable.onlyoffice-documentserver;
};
#rabbitmq.enable = false;
};
networking.hosts = {
"0.0.0.0" = [
"office.zeroq.ru"
"onlyoffice.local"
];
# "127.0.0.1" = [
# "nextcloud.zeroq.ru"
+3 -3
View File
@@ -41,17 +41,17 @@
# }
# ];
# };
"office.zeroq.ru" = {
"onlyoffice.local" = {
forceSSL = false;
enableACME = false;
listen = [
{
addr = "100.64.0.0";
port = 8999;
port = 8080;
}
{
addr = "192.168.1.20";
port = 8999;
port = 8080;
}
];
extraConfig = ''
+1 -1
View File
@@ -21,7 +21,7 @@ in
forceSSL = true;
kTLS = true;
locations."/" = {
proxyPass = "http://${server}:8999";
proxyPass = "http://${server}:8080";
proxyWebsockets = true; # onlyoffice uses websockets
};
extraConfig = ''