Flake to setup a local env for atproto development
1{
2 auto_https off
3}
4
5localhost:8443 {
6 tls ./certs/cert.pem ./certs/key.pem
7
8 header Content-Type "text/plain"
9 respond "Hello World!" 200
10}
11
12localhost:8444 {
13 tls ./certs/cert.pem ./certs/key.pem
14
15 header Content-Type "text/plain"
16 respond "Hello API!" 200
17}
18
19pds.example.org:8443 {
20 tls ./certs/cert.pem ./certs/key.pem
21
22 reverse_proxy localhost:3000
23}
24
25plc.example.org:8444 {
26 tls ./certs/cert.pem ./certs/key.pem
27
28 reverse_proxy localhost:2582
29}