From e3211a77f52300b68edf0427336c3ecf0db88053 Mon Sep 17 00:00:00 2001 From: "Jill \"oatmealine\" Monoids" Date: Mon, 23 Oct 2023 09:40:28 +0200 Subject: [PATCH] lucent-firepit: femboy.industries subdomains --- hosts/lucent-firepit/webapps/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hosts/lucent-firepit/webapps/default.nix b/hosts/lucent-firepit/webapps/default.nix index c8a853f..fc1165e 100644 --- a/hosts/lucent-firepit/webapps/default.nix +++ b/hosts/lucent-firepit/webapps/default.nix @@ -79,7 +79,10 @@ in { #"wint0r.zone".dataDir = "/var/www/wint0r.zone"; #"puzzle.wint0r.zone".dataDir = "/var/www/puzzle.wint0r.zone"; "femboy.industries".dataDir = "/var/www/femboy.industries"; - }; + } // (listToAttrs (map (value: { + name = "${value}.femboy.industries"; + value = { dataDir = "/var/www/femboy.industries/_subdomains/${value}/"; }; + }) ["sage"])); nitter = { enable = true; @@ -137,6 +140,12 @@ in { error_page 403 /403.html; ''; }; + "femboy.industries" = { + locations."/_subdomains".extraConfig = '' + deny all; + return 404; + ''; + }; # todo: move to flake "gdpstest.oat.zone" = { enableACME = true;