aboutsummaryrefslogtreecommitdiff
path: root/vps-configuration.env.nix
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-24 16:37:15 -0300
committerEuAndreh <eu@euandre.org>2020-08-24 16:39:31 -0300
commit463e4cd30a7f4962d0a5d9d7fa48fcad99a6ba4b (patch)
tree3f77889321f23219fc443c6b886d8f171818c918 /vps-configuration.env.nix
parentAdd shebang to bash-profile.sh (diff)
downloadserver-463e4cd30a7f4962d0a5d9d7fa48fcad99a6ba4b.tar.gz
server-463e4cd30a7f4962d0a5d9d7fa48fcad99a6ba4b.tar.xz
Add subdomain for pires documentation
Diffstat (limited to 'vps-configuration.env.nix')
-rw-r--r--vps-configuration.env.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/vps-configuration.env.nix b/vps-configuration.env.nix
index 4762f2d..a0949d2 100644
--- a/vps-configuration.env.nix
+++ b/vps-configuration.env.nix
@@ -9,6 +9,7 @@ let
bonecoTLD = "$BONECO_TLD";
pdfsTLD = "$PDFS_TLD";
songbooksDocumentationTLD = "$SONGBOOKS_DOCUMENTATION_TLD";
+ piresDocumentationTLD = "$PIRES_DOCUMENTATION_TLD";
letsencryptEmail = "$LETSENCRYPT_EMAIL";
authorizedKey = "$AUTHORIZED_KEY";
userPassword = "$USER_PASSWORD";
@@ -137,6 +138,11 @@ in {
root ${envsubstConfiguration.staticRoot}/songbooks/;
'';
};
+ "${envsubstConfiguration.piresDocumentationTLD}" = {
+ forceSSL = true;
+ enableACME = true;
+ root = "${envsubstConfiguration.staticRoot}/pires/";
+ };
# Generate and maintain TLS certificate with NGINX
# to be used by Prosody
"${envsubstConfiguration.prosodyTLD}" = {