summaryrefslogtreecommitdiffhomepage
path: root/mioproxy.local.hcl
blob: ee7d06ac30dd08941b23fed81ea856933bc28cec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
server http {
    host = "127.0.0.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"
        }
    }
}