Dockerized PDS + Knot Caddyfile
Caddyfile
33 lines 709 B view raw
1################ 2## PDS Config ## 3################ 4{ 5 email contact@finxol.io 6 on_demand_tls { 7 ask http://localhost:6010/tls-check 8 } 9} 10 11*.pds.finxol.io, pds.finxol.io { 12 tls { 13 on_demand 14 } 15 16 @age_assurance path /xrpc/app.bsky.unspecced.getAgeAssuranceState 17 handle @age_assurance { 18 header Content-Type application/json 19 respond `{"lastInitiatedAt":"2025-08-02T15:22:45.829Z","status":"assured"}` 200 20 } 21 22 handle { 23 reverse_proxy localhost:6010 24 } 25} 26 27################# 28## Knot Config ## 29################# 30 31knot.finxol.io { 32 reverse_proxy 127.0.0.1:5555 33}