diff options
author | Martin Fischer <martin@push-f.com> | 2025-03-11 07:57:00 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-03-12 08:10:54 +0100 |
commit | 326b5f556ccbf3ab2e17cdc9415833267466f0e1 (patch) | |
tree | 8364cd8e5ee0015c5a30550172ad31982bd6adbd | |
parent | 2631aab59a748a9f630a68226048131aa9fbd932 (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.nix | 4 |
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"; + }; }; }; }; |