From 4707be72a73745b8b0cd1d47f4f5e35a1d7f793d Mon Sep 17 00:00:00 2001 From: jolheiser Date: Thu, 21 Sep 2023 11:12:12 -0500 Subject: [PATCH] fix: add webfinger Signed-off-by: jolheiser --- machines/dragonwell/caddy.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/machines/dragonwell/caddy.nix b/machines/dragonwell/caddy.nix index 08e6a07..5dc1dd2 100644 --- a/machines/dragonwell/caddy.nix +++ b/machines/dragonwell/caddy.nix @@ -6,6 +6,9 @@ in { virtualHosts = { "jolheiser.com" = { extraConfig = '' + handle_path /.well-known/webfinger { + respond "{\"subject\":\"acct:john@jolheiser.com\",\"links\":[{\"rel\":\"http://openid.net/specs/connect/1.0/issuer\",\"href\":\"https://git.jojodev.com/\"}]}" + } handle_path /bennet* { root * /srv/bennet/src file_server