summaryrefslogtreecommitdiffhomepage
path: root/mioproxy.local.hcl
blob: a54221a5c84a9ad2cb8f3308cf788a0668a836c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
server http {
    hosts = ["127.0.0.1", "::1"]
    port = 8000

    proxy albatross {
        from {
            path = "/x/albatross/"
        }
        to {
            host = "127.0.0.1:8000"
            port = 8001
        }
        auth basic {
            realm = "Auth required /x/albatross/"
            credential_file = "albatross.htpasswd"
        }
    }
}