From 7842126a6635dce17552f07ea998214f27a402bf Mon Sep 17 00:00:00 2001 From: Nicholas McDaniel Date: Fri, 23 Jan 2026 22:28:35 -0500 Subject: [PATCH] Make unknown subdomains on non-atproto routes redirect to the homepage --- modules/nginx.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/nginx.nix b/modules/nginx.nix index db18a81..38ca994 100644 --- a/modules/nginx.nix +++ b/modules/nginx.nix @@ -71,6 +71,9 @@ }; }; "*.tty.garden" = vhostDefault // { + locations."/" = { + return = "301 https://tty.garden"; + }; locations."~/.well-known/" = pdsProxy; }; };