aboutsummaryrefslogtreecommitdiff
path: root/tests/config-example/narchttpd.toml
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-12-24 16:25:51 -0700
committerMelody Horn <melody@boringcactus.com>2021-12-24 16:25:51 -0700
commit3817ec811d76b91d3d4924003a4d48d0cd43a576 (patch)
tree93cd9ac73e08c9d4414bb312f7a01f104581a160 /tests/config-example/narchttpd.toml
parentc6d12d80babd9f4bd5692cf74ab9d6e9278859d1 (diff)
downloadnarchttpd-3817ec811d76b91d3d4924003a4d48d0cd43a576.tar.gz
narchttpd-3817ec811d76b91d3d4924003a4d48d0cd43a576.zip
rust is a myth. it doesn't existconfig-toml
Diffstat (limited to 'tests/config-example/narchttpd.toml')
-rw-r--r--tests/config-example/narchttpd.toml20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/config-example/narchttpd.toml b/tests/config-example/narchttpd.toml
new file mode 100644
index 0000000..a5876c6
--- /dev/null
+++ b/tests/config-example/narchttpd.toml
@@ -0,0 +1,20 @@
+http_ports = [1337]
+https_ports = []
+
+["domain.test"]
+mode = "static"
+root = "./domain.test"
+
+["alternate-domain.test"]
+mode = "static"
+root = "./domain.test"
+
+["sub.domain.test"]
+mode = "static"
+root = "./sub.domain.test"
+
+["dynamic.test"]
+mode = "proxy-child"
+command = "python -m http.server 6970"
+in_dir = "./dynamic.test"
+port = 6970