Make unknown subdomains on non-atproto routes redirect to the homepage

This commit is contained in:
2026-01-23 22:28:35 -05:00
parent 983d0f981c
commit 7842126a66

View File

@@ -71,6 +71,9 @@
}; };
}; };
"*.tty.garden" = vhostDefault // { "*.tty.garden" = vhostDefault // {
locations."/" = {
return = "301 https://tty.garden";
};
locations."~/.well-known/" = pdsProxy; locations."~/.well-known/" = pdsProxy;
}; };
}; };