Duplicated from biangbiang/newapi
e558bbf 1a4224f e558bbf 3ef06e4 cd17c00 795a300 76deb15 e558bbf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ admin off log { output file /data/caddy.log format console level debug } } :3001 { reverse_proxy /api localhost:3000 reverse_proxy /api/* localhost:3000 { rewrite * {http.request.uri.path} } }