aboutsummaryrefslogtreecommitdiffhomepage
path: root/mioproxy.local.hcl
blob: a8d23ce8b02588efcdecfac2f9482802acfa3695 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
user = "ken"

server http {
    hosts = ["127.0.0.1", "::1"]
    port = 8000

    proxy default {
        from {
            host = "localhost:8000"
        }
        to {
            host = "127.0.0.1"
            port = 8001
        }
    }

    proxy about {
        from {
            host = "about.localhost:8000"
        }
        to {
            host = "127.0.0.1"
            port = 8001
        }
    }

    proxy blog {
        from {
            host = "blog.localhost:8000"
        }
        to {
            host = "127.0.0.1"
            port = 8001
        }
    }

    proxy slides {
        from {
            host = "slides.localhost:8000"
        }
        to {
            host = "127.0.0.1"
            port = 8001
        }
    }
}