This commit is contained in:
2025-10-06 21:41:17 +03:00
parent c948a43734
commit ec16e0418c
+4 -22
View File
@@ -104,9 +104,8 @@ in
listen = "0.0.0.0"; listen = "0.0.0.0";
post_allow.host = [ post_allow.host = [
"localhost" "localhost"
"0.0.0.0"
"nextcloud.zeroq.ru" "nextcloud.zeroq.ru"
"nextcloud.local" "100.64.1.0"
]; ];
}; };
storage.wopi = { storage.wopi = {
@@ -114,9 +113,7 @@ in
host = [ host = [
"nextcloud.zeroq.ru" "nextcloud.zeroq.ru"
"localhost" "localhost"
"localhost:10000" "100.64.1.0"
"0.0.0.0"
"nextcloud.local"
]; ];
}; };
}; };
@@ -128,25 +125,12 @@ in
}; };
networking.hosts = { networking.hosts = {
# "0.0.0.0" = [ "localhost:10000" = [
# # "nextcloud.local"
# # "nextcloud.zeroq.ru"
# # "office.zeroq.ru"
# ];
# "localhost" = [
# # "nextcloud.local"
# "nextcloud.zeroq.ru"
# # "office.zeroq.ru"
# ];
"nextcloud.local" = [
"nextcloud.zeroq.ru" "nextcloud.zeroq.ru"
]; ];
"localhost:9980" = [ "localhost:9980" = [
"office.zeroq.ru" "office.zeroq.ru"
]; ];
# "0.0.0.0" = [
# "onlyoffice.local"
# ];
}; };
systemd.services.nextcloud-config-collabora = systemd.services.nextcloud-config-collabora =
@@ -156,10 +140,8 @@ in
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" "nextcloud.zeroq.ru"
"localhost:10000"
"localhost" "localhost"
"0.0.0.0" "100.64.1.0"
"nextcloud.local"
]; ];
in in
{ {