diff options
author | Melody Horn <melody@boringcactus.com> | 2021-12-24 16:25:51 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-12-24 16:25:51 -0700 |
commit | 3817ec811d76b91d3d4924003a4d48d0cd43a576 (patch) | |
tree | 93cd9ac73e08c9d4414bb312f7a01f104581a160 /tests/config-example/narchttpd.rhai | |
parent | c6d12d80babd9f4bd5692cf74ab9d6e9278859d1 (diff) | |
download | narchttpd-3817ec811d76b91d3d4924003a4d48d0cd43a576.tar.gz narchttpd-3817ec811d76b91d3d4924003a4d48d0cd43a576.zip |
rust is a myth. it doesn't existconfig-toml
Diffstat (limited to 'tests/config-example/narchttpd.rhai')
-rw-r--r-- | tests/config-example/narchttpd.rhai | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/config-example/narchttpd.rhai b/tests/config-example/narchttpd.rhai deleted file mode 100644 index 713dc3e..0000000 --- a/tests/config-example/narchttpd.rhai +++ /dev/null @@ -1,16 +0,0 @@ -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, -}); |