aboutsummaryrefslogtreecommitdiff
path: root/tests/config-example/narchttpd.kdl
blob: ca248460071074a91ae75687ba369174306d150b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
http true port=1337

domain "domain.test" "alternate-domain.test" {
    static {
        root "./domain.test"
    }
}

domain "sub.domain.test" {
    static {
        root "./sub.domain.test"
    }
}

domain "dynamic.test" {
    proxy-child {
        command "python -m http.server 6970"
        in-dir "./dynamic.test"
        port 6970
    }
}