Duplicated from biangbiang/newapi
e558bbf 1a4224f e558bbf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ admin off log { output file /data/caddy.log format console level debug } } :3001 { route /api/* { handle_path /api/* { reverse_proxy localhost:3000 } } respond "404 Not Found" 404 }