This commit is contained in:
2025-09-23 22:28:16 +03:00
parent 7475939293
commit f6b25335ec
3 changed files with 47 additions and 44 deletions
+18 -15
View File
@@ -77,7 +77,7 @@ in
notify_push
polls
previewgenerator
richdocuments
# richdocuments
spreed
tasks
user_oidc
@@ -87,7 +87,7 @@ in
};
};
collabora-online = {
enable = true;
enable = false;
#package = stable.collabora-online;
port = 9980;
settings = {
@@ -114,24 +114,27 @@ in
};
};
onlyoffice = {
enable = false;
enable = true;
hostname = "onlyoffice";
};
#rabbitmq.enable = false;
};
# networking.hosts = {
# "127.0.0.1" = [
# "nextcloud.zeroq.ru"
# "collabora.zeroq.ru"
# # "office.zeroq.com"
# ];
# "::1" = [
# "nextcloud.zeroq.ru"
# "collabora.zeroq.ru"
# # "office.zeroq.com"
# ];
# };
networking.hosts = {
"0.0.0.0" = [
"onlyoffice"
];
# "127.0.0.1" = [
# "nextcloud.zeroq.ru"
# "collabora.zeroq.ru"
# "office.zeroq.com"
# ];
# "::1" = [
# "nextcloud.zeroq.ru"
# "collabora.zeroq.ru"
# # "office.zeroq.com"
# ];
};
# systemd.services.nextcloud-config-collabora =
# let
+17 -17
View File
@@ -41,34 +41,34 @@
# }
# ];
# };
# "onlyoffice" = {
# forceSSL = false;
# enableACME = false;
# listen = [
# {
# addr = "100.64.0.0";
# port = 8080;
# }
# {
# addr = "192.168.1.20";
# port = 8080;
# }
# ];
# };
"localhost:9980" = {
"onlyoffice" = {
forceSSL = false;
enableACME = false;
listen = [
{
addr = "100.64.0.0";
port = 9980;
port = 8000;
}
{
addr = "192.168.1.20";
port = 9980;
port = 8000;
}
];
};
# "localhost:9980" = {
# forceSSL = false;
# enableACME = false;
# listen = [
# {
# addr = "100.64.0.0";
# port = 9980;
# }
# {
# addr = "192.168.1.20";
# port = 9980;
# }
# ];
# };
# "localhost:5230" = {
# forceSSL = false;
# enableACME = false;
+12 -12
View File
@@ -16,18 +16,18 @@ in
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts = {
# "office.zeroq.ru" = {
# enableACME = true;
# forceSSL = true;
# kTLS = true;
# locations."/" = {
# proxyPass = "http://${server}:8890";
# proxyWebsockets = true; # onlyoffice uses websockets
# };
# extraConfig = ''
# client_max_body_size 5G;
# '';
# };
"office.zeroq.ru" = {
enableACME = true;
forceSSL = true;
kTLS = true;
locations."/" = {
proxyPass = "http://${server}:8000";
proxyWebsockets = true; # onlyoffice uses websockets
};
extraConfig = ''
client_max_body_size 5G;
'';
};
"collabora.zeroq.ru" = {
enableACME = true;
forceSSL = true;