From 77074c7d87fcd802a3f72379d6258fb021c8d31b Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Wed, 19 Feb 2025 12:28:20 -0600 Subject: [PATCH] Add staging.thewordnerd.info. --- hosts/hub/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/hosts/hub/default.nix b/hosts/hub/default.nix index 1f69fab..5feec1a 100644 --- a/hosts/hub/default.nix +++ b/hosts/hub/default.nix @@ -120,11 +120,17 @@ services.caddy.virtualHosts."thewordnerd.info".extraConfig = ''redir https://www.thewordnerd.info{uri}''; - services.caddy.virtualHosts."www.thewordnerd.info".extraConfig = '' + services.caddy.virtualHosts."www.thewordnerd.info".extraConfig = '' file_server root * /var/www/thewordnerd.info header /.well-known/matrix/* content-type application/json - ''; + ''; + + services.caddy.virtualHosts."staging.thewordnerd.info".extraConfig = '' + file_server + root * /var/www/staging.thewordnerd.info + header /.well-known/matrix/* content-type application/json + ''; services.caddy.virtualHosts."users.thewordnerd.info".extraConfig = ''reverse_proxy localhost:17170'';