From bd244e779751881d348081f079d3f7b054140d6c Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 25 May 2026 16:24:35 +0900 Subject: [PATCH] temmie/userweb: add `www2` server alias --- hosts/temmie/services/userweb/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/temmie/services/userweb/default.nix b/hosts/temmie/services/userweb/default.nix index a8bb681..343fca9 100644 --- a/hosts/temmie/services/userweb/default.nix +++ b/hosts/temmie/services/userweb/default.nix @@ -188,11 +188,14 @@ in ScriptLog ${cfg.logDir}/cgi.log ''; - # virtualHosts."userweb.pvv.ntnu.no" = { virtualHosts."temmie.pvv.ntnu.no" = { forceSSL = true; enableACME = true; + serverAliases = [ + "www2.pvv.ntnu.no" + ]; + extraConfig = '' UserDir ${lib.concatMapStringsSep " " (l: "/home/pvv/${l}/*/web-docs") homeLetters} UserDir disabled root