From 333c7daa77f0e1b72b8da142dc76037e3df90041 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 22 Aug 2020 19:13:03 -0300 Subject: Add songbooks documentation DNS address --- vps-configuration.env.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vps-configuration.env.nix') diff --git a/vps-configuration.env.nix b/vps-configuration.env.nix index 7339d85..183abc4 100644 --- a/vps-configuration.env.nix +++ b/vps-configuration.env.nix @@ -8,6 +8,7 @@ let prosodyTLD = "$PROSODY_TLD"; bonecoTLD = "$BONECO_TLD"; pdfsTLD = "$PDFS_TLD"; + songbooksDocumentationTLD = "$SONGBOOKS_DOCUMENTATION_TLD"; letsencryptEmail = "$LETSENCRYPT_EMAIL"; authorizedKey = "$AUTHORIZED_KEY"; userPassword = "$USER_PASSWORD"; @@ -119,6 +120,11 @@ in { enableACME = true; root = staticSiteFromRepo "pdfs-da-d-maria"; }; + "${envsubstConfiguration.songbooksDocumentationTLD}" = { + forceSSL = true; + enableACME = true; + root = "/home/${envsubstConfiguration.userName}/songbooks/"; + }; "${envsubstConfiguration.prosodyTLD}" = { forceSSL = true; enableACME = true; -- cgit v1.2.3