+12
-2
README.md
+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
```