aboutsummaryrefslogtreecommitdiff
path: root/Caddyfile
blob: ac42b03b69965c9216a0778afecb397dac497f32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
http://127.0.0.1, https://localhost {
    file_server /* {
        root build/
    }

    reverse_proxy /api* {
        to http://localhost:8000
    }

    reverse_proxy /api/ws {
        to 127.0.0.1:8001
    }
}

ws://localhost {
    reverse_proxy * {
        to localhost:8001
    }
}