blob: 713dc3eeef9db31be501fbbd15eefe72e72eebdb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
http_ports = [1337];
https_ports = [];
let sample = serve_static(#{
root: "./domain.test",
});
domains["domain.test"] = sample;
domains["alternate-domain.test"] = sample;
domains["sub.domain.test"] = serve_static(#{
root: "./sub.domain.test",
});
domains["dynamic.test"] = proxy_child(#{
command: "python -m http.server 6970",
in_dir: "./dynamic.test",
port: 6970,
});
|