tangled
alpha
login
or
join now
besaid.zone
/
relay-docker
7
fork
atom
dockerized atproto relay
7
fork
atom
overview
issues
pulls
pipelines
caddy config update and docs update
besaid.zone
6 months ago
bc4cc0cb
bb08c86f
verified
This commit was signed with the committer's
known signature
.
besaid.zone
SSH Key Fingerprint:
SHA256:Q4dc5PTI8DNTxJbH2bWsDeY6BXzfq0ce1XSA4H5Y3iI=
+18
-2
2 changed files
expand all
collapse all
unified
split
README.md
conf
Caddyfile
+12
-2
README.md
···
47
47
// conf/Caddyfile
48
48
49
49
yourdomain.com {
50
50
-
reverse_proxy relay:2470
50
50
+
tls {
51
51
+
on_demand
52
52
+
}
53
53
+
54
54
+
handle /xrpc/com.atproto.sync.subscribeRepos {
55
55
+
reverse_proxy 127.0.0.1:2470 {
56
56
+
header_up Origin "yourdomain.com"
57
57
+
}
58
58
+
}
59
59
+
60
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
93
-
shuf hosts.txt | parallel goat relay admin host add {}
103
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
6
+
handle /xrpc/com.atproto.sync.subscribeRepos {
7
7
+
reverse_proxy 127.0.0.1:2470 {
8
8
+
header_up Origin "yourdomain.com"
9
9
+
}
10
10
+
}
11
11
+
6
12
reverse_proxy localhost:2470
7
13
}