From 08bcab292129ae2aaa90e85b274aa97d01ea1c5c Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sat, 26 Aug 2023 21:29:22 +0900 Subject: [PATCH] add .well-known/atproto-did --- etc/caddy/Caddyfile | 5 +++-- srv/.well-known/atproto-did | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 srv/.well-known/atproto-did diff --git a/etc/caddy/Caddyfile b/etc/caddy/Caddyfile index 0e7d421..b2b6726 100644 --- a/etc/caddy/Caddyfile +++ b/etc/caddy/Caddyfile @@ -1,6 +1,7 @@ fogtype.com { - handle /.well-known/nostr.json { - header access-control-allow-origin * + header /.well-known/nostr.json access-control-allow-origin * + @exists file + handle @exists { file_server } reverse_proxy http://gts:8080 diff --git a/srv/.well-known/atproto-did b/srv/.well-known/atproto-did new file mode 100644 index 0000000..46c8a91 --- /dev/null +++ b/srv/.well-known/atproto-did @@ -0,0 +1 @@ +did:plc:q2jocvzp6nzybaodbajtkqy4 \ No newline at end of file