This commit is contained in:
2025-10-06 21:53:51 +03:00
parent 8855a9cce9
commit ead3731772
+12 -14
View File
@@ -105,15 +105,15 @@ in
post_allow.host = [ post_allow.host = [
"localhost" "localhost"
"nextcloud.zeroq.ru" "nextcloud.zeroq.ru"
"nextcloud.local"
"100.64.1.0" "100.64.1.0"
"0.0.0.0"
]; ];
}; };
storage.wopi = { storage.wopi = {
"@allow" = true; "@allow" = true;
host = [ host = [
"nextcloud.zeroq.ru" "0.0.0.0/0"
"localhost"
"100.64.1.0"
]; ];
}; };
}; };
@@ -125,14 +125,14 @@ in
}; };
networking.hosts = { networking.hosts = {
"localhost" = [ # "localhost" = [
"nextcloud.zeroq.ru" # "nextcloud.zeroq.ru"
"office.zeroq.ru" # "office.zeroq.ru"
]; # ];
"::1" = [ # "::1" = [
"office.zeroq.ru" # "office.zeroq.ru"
"nextcloud.zeroq.ru" # "nextcloud.zeroq.ru"
]; # ];
}; };
systemd.services.nextcloud-config-collabora = systemd.services.nextcloud-config-collabora =
@@ -141,9 +141,7 @@ in
wopi_url = "http://localhost:${toString config.services.collabora-online.port}"; wopi_url = "http://localhost:${toString config.services.collabora-online.port}";
public_wopi_url = "https://office.zeroq.ru"; public_wopi_url = "https://office.zeroq.ru";
wopi_allowlist = lib.concatStringsSep "," [ wopi_allowlist = lib.concatStringsSep "," [
"nextcloud.zeroq.ru" "0.0.0.0/0"
"localhost"
"100.64.1.0"
]; ];
in in
{ {