dockerized atproto relay

caddy config update and docs update

besaid.zone bc4cc0cb bb08c86f

verified
Changed files
+18 -2
conf
+12 -2
README.md
··· 47 47 // conf/Caddyfile 48 48 49 49 yourdomain.com { 50 - reverse_proxy relay:2470 50 + tls { 51 + on_demand 52 + } 53 + 54 + handle /xrpc/com.atproto.sync.subscribeRepos { 55 + reverse_proxy 127.0.0.1:2470 { 56 + header_up Origin "yourdomain.com" 57 + } 58 + } 59 + 60 + reverse_proxy localhost:2470 51 61 } 52 62 ``` 53 63 ··· 90 100 we can then use `goat` to add hosts to the relay 91 101 92 102 ```bash 93 - shuf hosts.txt | parallel goat relay admin host add {} 103 + shuf hosts.txt | RELAY_HOST=http://localhost:2470 parallel goat relay admin host add {} 94 104 ```
+6
conf/Caddyfile
··· 3 3 on_demand 4 4 } 5 5 6 + handle /xrpc/com.atproto.sync.subscribeRepos { 7 + reverse_proxy 127.0.0.1:2470 { 8 + header_up Origin "yourdomain.com" 9 + } 10 + } 11 + 6 12 reverse_proxy localhost:2470 7 13 }