From 9eed5b54f5bd10590a261d3117fbc52726e908cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Sat, 21 Jun 2025 11:10:26 +0300 Subject: [PATCH] Hopefully fix Idacloud Collabora --- servers/nextcloud.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/servers/nextcloud.nix b/servers/nextcloud.nix index 3001a78..09af890 100644 --- a/servers/nextcloud.nix +++ b/servers/nextcloud.nix @@ -65,7 +65,10 @@ net = { listen = "loopback"; - post_allow.host = [ "::1" ]; + post_allow.host = [ + "127.0.0.1" + "::1" + ]; }; storage.wopi = { @@ -79,7 +82,7 @@ nginx.virtualHosts.${config.services.collabora-online.settings.server_name} = { locations."/" = { - proxyPass = "http://[::1]:${toString config.services.collabora-online.port}"; + proxyPass = "http://localhost:${toString config.services.collabora-online.port}"; proxyWebsockets = true; # collabora uses websockets }; };