tangled
alpha
login
or
join now
8bit.lol
/
pegasus
forked from
futur.blue/pegasus
0
fork
atom
objective categorical abstract machine language personal data server
0
fork
atom
overview
issues
pulls
pipelines
Add AA route handling to example Caddyfile
8bit.lol
2 months ago
4ff2b2e6
f0f3cfa4
verified
This commit was signed with the committer's
known signature
.
8bit.lol
SSH Key Fingerprint:
SHA256:CkbNRs0yVzXEiUp2zd0PSxsfRUMFF9bLlKXtE1xEbKM=
+11
-1
1 changed file
expand all
collapse all
unified
split
Caddyfile
+11
-1
Caddyfile
···
1
1
{$PDS_HOSTNAME}, *.{$PDS_HOSTNAME} {
2
2
-
reverse_proxy pds:8008
2
2
+
# See https://gist.github.com/mary-ext/6e27b24a83838202908808ad528b3318#method-5-self-hosted-pds
3
3
+
handle /xrpc/app.bsky.ageassurance.getState {
4
4
+
header content-type "application/json"
5
5
+
header access-control-allow-headers "authorization,dpop,atproto-accept-labelers,atproto-proxy"
6
6
+
header access-control-allow-origin "*"
7
7
+
respond `{"state":{"lastInitiatedAt":"2025-07-14T14:22:43.912Z","status":"assured","access":"full"},"metadata":{"accountCreatedAt":"2022-11-17T00:35:16.391Z"}}` 200
8
8
+
}
9
9
+
10
10
+
handle {
11
11
+
reverse_proxy pds:8008
12
12
+
}
3
13
}