From d3f55dc82173402de7ba252bdd7d5796b6a5709d Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Wed, 2 Aug 2023 16:38:14 +0200 Subject: [PATCH] htz-cloud.afra: add fedi redirects --- nodes/htz-cloud.afra.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nodes/htz-cloud.afra.toml b/nodes/htz-cloud.afra.toml index 80bad5f..9ef5192 100644 --- a/nodes/htz-cloud.afra.toml +++ b/nodes/htz-cloud.afra.toml @@ -72,6 +72,16 @@ domain = "afra.berlin" redirect = "https://afra-berlin.de" mode = 302 +[metadata.nginx.vhosts.redirect.locations.'/.well-known/host-meta'] +redirect = "https://fedi.afra.berlin/.well-known/host-meta" +mode = 301 +[metadata.nginx.vhosts.redirect.locations.'/.well-known/nodeinfo'] +redirect = "https://fedi.afra.berlin/.well-known/nodeinfo" +mode = 301 +[metadata.nginx.vhosts.redirect.locations.'/.well-known/webfinger'] +redirect = "https://fedi.afra.berlin/.well-known/webfinger" +mode = 301 + [metadata.nginx.vhosts.redirect.locations.'/matrix/'] target = "http://127.0.0.1:20100/"