diff --git a/modules/caddy.nix b/modules/caddy.nix index 144d8b4..3047747 100644 --- a/modules/caddy.nix +++ b/modules/caddy.nix @@ -5,7 +5,7 @@ enable = true; package = pkgs.caddy.withPlugins { plugins = [ "github.com/mholt/caddy-ratelimit@v0.1.0" ]; - hash = "sha256-MBYvVqWB9GK3LSWigeb4NOgclGA2qZTSUyBJMdB635M="; + hash = "sha256-kuqkLAMxBJvjNbgVCjrJDLFKUqMPPzguFupgXBFQYCA="; }; email = "postmaster@extremist.software"; globalConfig = '' @@ -34,6 +34,10 @@ header Content-Type "application/json" respond `{"admins": [{"matrix_id": "@jet:extremist.software","role": "admin"}]}` } + handle /.well-known/atproto-did { + header Content-Type "text/plain" + respond "did:plc:pvonud4oncr2m6en5f3jqrqk" + } handle { redir https://jetpham.com{uri} }