From cca9aa2eacf973c0cd0f969656bb9a6afd0dec02 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 8 Nov 2021 09:40:53 +0100 Subject: [PATCH 1/1] Add bookstack for HK --- modules/private/system/dilion.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/private/system/dilion.nix b/modules/private/system/dilion.nix index a2e4f05..98c5c8b 100644 --- a/modules/private/system/dilion.nix +++ b/modules/private/system/dilion.nix @@ -182,6 +182,8 @@ "zulip.agnes.carpentier.earth" = null; "ofn.nc.immae.dev" = null; + + "bookstack.cc.immae.dev" = null; }; }; services.nginx = { @@ -213,6 +215,12 @@ auth_basic_user_file ${pkgs.writeText "htpasswd" config.myEnv.websites.caldance.integration.password}; ''; }; + "bookstack.cc.immae.dev" = { + acmeRoot = config.myServices.certificates.webroot; + useACMEHost = name; + forceSSL = true; + locations."/".proxyPass = "http://localhost:4003"; + }; "ofn.nc.immae.dev" = { acmeRoot = config.myServices.certificates.webroot; useACMEHost = name; -- 2.41.0