From 9dc63921b830b0f166865c273eeefe2e336a2d23 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Wed, 15 Feb 2023 15:53:15 +0100 Subject: [PATCH] fix hedgedoc --- modules/hedgedoc.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/hedgedoc.nix b/modules/hedgedoc.nix index 3c8b776..e88af66 100644 --- a/modules/hedgedoc.nix +++ b/modules/hedgedoc.nix @@ -19,7 +19,7 @@ in hedgedoc = { enable = true; - configuration = { + settings = { port = 3002; domain = "${domain}"; protocolUseSSL = true; @@ -44,7 +44,7 @@ in enableACME = true; forceSSL = true; locations."/" = { - proxyPass = "http://127.0.0.1:${toString config.services.hedgedoc.configuration.port}"; + proxyPass = "http://[::1]:${toString config.services.hedgedoc.settings.port}"; proxyWebsockets = true; }; };