+12
-2
README.md
+12
-2
README.md
···
47
// conf/Caddyfile
48
49
yourdomain.com {
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
61
}
62
```
63
···
100
we can then use `goat` to add hosts to the relay
101
102
```bash
103
+
shuf hosts.txt | RELAY_HOST=http://localhost:2470 parallel goat relay admin host add {}
104
```