From 02cb4811045e621052ccca55f4242bb426af25e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Fri, 8 Aug 2025 17:44:26 +0200 Subject: [PATCH] non working: install collabora online server --- void.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/void.nix b/void.nix index 41c6eaf..e3b0f0a 100644 --- a/void.nix +++ b/void.nix @@ -342,6 +342,27 @@ NEXTCLOUD_URL = "https://nextcloud.005540.xyz"; }; }; + services.collabora-online = { + enable = true; + settings = { + ssl = { + enable = false; + termination = true; + }; + + net = { + listen = "loopback"; + post_allow.host = ["::1"]; + }; + + storage.wopi = { + "@allow" = true; + host = ["nextcloud.005540.xyz"]; + }; + + server_name = "collabora.005540.xyz"; + }; + }; # dynamic dns services.ddclient = { @@ -460,6 +481,14 @@ enableACME = true; forceSSL = true; }; + "collabora.005540.xyz" = { + locations."/" = { + proxyPass = "http://[::1]:${toString config.services.collabora-online.port}"; + proxyWebsockets = true; + }; + enableACME = true; + forceSSL = true; + }; }; }; }