summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-03-11 07:57:00 +0100
committerMartin Fischer <martin@push-f.com>2025-03-12 08:10:54 +0100
commit326b5f556ccbf3ab2e17cdc9415833267466f0e1 (patch)
tree8364cd8e5ee0015c5a30550172ad31982bd6adbd
parent2631aab59a748a9f630a68226048131aa9fbd932 (diff)
tente: redirect /posts/atom.xml
The file now has the .atom extension to make it easily recognizable in Grafana's LogQL.
-rw-r--r--nixos/hosts/tente/web-personal.nix4
1 files changed, 4 insertions, 0 deletions
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";
+ };
};
};
};