From fc98eb0312a13297ad74c34bf6b26332dd8edef1 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 20 Aug 2020 06:45:05 -0300 Subject: Add songbooks documentatation --- secrets/secret-envrc.sh | Bin 3314 -> 3363 bytes vps-configuration.env.nix | 6 ++++++ 2 files changed, 6 insertions(+) diff --git a/secrets/secret-envrc.sh b/secrets/secret-envrc.sh index 067183e..ff9d1cc 100644 Binary files a/secrets/secret-envrc.sh and b/secrets/secret-envrc.sh differ diff --git a/vps-configuration.env.nix b/vps-configuration.env.nix index f5a9122..9013fb8 100644 --- a/vps-configuration.env.nix +++ b/vps-configuration.env.nix @@ -18,6 +18,7 @@ let gitRoot = "$GIT_ROOT"; gitPort = "$GIT_PORT"; systemStateVersion = "$SYSTEM_STATE_VERSION"; + songbooksDocumentationTLD = "$SONGBOOKS_DOCUMENTATION_TLD"; }; boneco = pkgs.stdenv.mkDerivation { name = "boneco"; @@ -90,6 +91,11 @@ in { enableACME = true; root = boneco; }; + "${envsubstConfiguration.songbooksDocumentationTLD}" = { + forceSSL = true; + enableACME = true; + root = "/home/${envsubstConfiguration.userName}/songbooks/"; + }; }; }; -- cgit v1.2.3