diff options
Diffstat (limited to 'tests/config-example/narchttpd.kdl')
-rw-r--r-- | tests/config-example/narchttpd.kdl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/config-example/narchttpd.kdl b/tests/config-example/narchttpd.kdl new file mode 100644 index 0000000..ca24846 --- /dev/null +++ b/tests/config-example/narchttpd.kdl @@ -0,0 +1,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 + } +} |