File size: 275 Bytes
e558bbf
 
 
1a4224f
e558bbf
 
 
 
 
 
cd17c00
795a300
76deb15
 
cd17c00
 
e558bbf
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    admin off
    log {
        output file /data/caddy.log
        format console
        level debug
    }
}

:3001 {
    reverse_proxy /api/* localhost:3000 {
        rewrite * {http.request.uri.path}
    }

    handle /api {
        reverse_proxy localhost:3000
    }
}