From 326b5f556ccbf3ab2e17cdc9415833267466f0e1 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Tue, 11 Mar 2025 07:57:00 +0100 Subject: tente: redirect /posts/atom.xml The file now has the .atom extension to make it easily recognizable in Grafana's LogQL. --- nixos/hosts/tente/web-personal.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/hosts/tente/web-personal.nix b/nixos/hosts/tente/web-personal.nix index 4e86e9b..039dec2 100644 --- a/nixos/hosts/tente/web-personal.nix +++ b/nixos/hosts/tente/web-personal.nix @@ -36,6 +36,10 @@ in locations."= /.well-known/matrix/client".extraConfig = mkWellKnown { "m.homeserver" = { base_url = "https://${cfg.matrixApiDomain}"; }; }; + + locations."= /posts/atom.xml" = { + return = "301 /posts.atom"; + }; }; }; }; -- cgit v1.2.3