aboutsummaryrefslogtreecommitdiff
path: root/vps-configuration.env.nix
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-28 20:52:08 -0300
committerEuAndreh <eu@euandre.org>2020-08-28 22:01:44 -0300
commit97bf1ea1dabddc212c5ee8858213efe1f2251f6c (patch)
treeba0b36bb9b95d7beef5de424a138a94a6e664267 /vps-configuration.env.nix
parentAdd $lang prefix to root songbooks documentation path redirect (diff)
downloadserver-97bf1ea1dabddc212c5ee8858213efe1f2251f6c.tar.gz
server-97bf1ea1dabddc212c5ee8858213efe1f2251f6c.tar.xz
Add ci-logs from static files
Diffstat (limited to 'vps-configuration.env.nix')
-rw-r--r--vps-configuration.env.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/vps-configuration.env.nix b/vps-configuration.env.nix
index e18ed75..82b0ea7 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";
+ ciLogsTLD = "$CI_LOGS_TLD";
songbooksDocumentationTLD = "$SONGBOOKS_DOCUMENTATION_TLD";
piresDocumentationTLD = "$PIRES_DOCUMENTATION_TLD";
piresProdTLD = "$PIRES_PROD_TLD";
@@ -19,6 +20,7 @@ let
userName = "$USER_NAME";
dataRoot = "$DATA_ROOT";
staticRoot = "$STATIC_ROOT";
+ ciLogsRoot = "$CI_LOGS_ROOT";
faviconsRoot = "$FAVICONS_ROOT";
nextcloudDatabaseUser = "$NEXTCLOUD_DATABASE_USER";
nextcloudDatabasePassword = "$NEXTCLOUD_DATABASE_PASSWORD";
@@ -147,6 +149,11 @@ in {
enableACME = true;
root = staticSiteFromRepo "pdfs-da-d-maria";
};
+ "${envsubstConfiguration.ciLogsTLD}" = {
+ forceSSL = true;
+ enableACME = true;
+ root = "${envsubstConfiguration.ciLogsRoot}";
+ };
"${envsubstConfiguration.songbooksDocumentationTLD}" = {
forceSSL = true;
enableACME = true;
@@ -316,6 +323,7 @@ in {
staticRoot
gitRoot
faviconsRoot
+ ciLogsRoot
dataRoot
]);
serviceConfig = { Type = "oneshot"; };