summaryrefslogtreecommitdiffhomepage
path: root/examples/rust/echo-request-wbody/unit-wasm-conf.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rust/echo-request-wbody/unit-wasm-conf.json')
-rw-r--r--examples/rust/echo-request-wbody/unit-wasm-conf.json36
1 files changed, 0 insertions, 36 deletions
diff --git a/examples/rust/echo-request-wbody/unit-wasm-conf.json b/examples/rust/echo-request-wbody/unit-wasm-conf.json
deleted file mode 100644
index cb799ee..0000000
--- a/examples/rust/echo-request-wbody/unit-wasm-conf.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "listeners": {
- "[::1]:8888": {
- "pass": "routes"
- }
- },
-
- "settings": {
- "http": {
- "max_body_size": 1073741824
- }
- },
-
- "routes": [
- {
- "match": {
- "uri": "/echo*"
- },
- "action": {
- "pass": "applications/rust-echo-request"
- }
- }
- ],
-
- "applications": {
- "rust-echo-request": {
- "type": "wasm",
- "module": "/home/timo/unit1.31/unit-wasm/examples/rust/echo-request-wbody/target/wasm32-wasi/debug/rust_echo_request.wasm",
- "request_handler": "uwr_request_handler",
- "malloc_handler": "luw_malloc_handler",
- "free_handler": "luw_free_handler",
- "module_init_handler": "uwr_module_init_handler",
- "module_end_handler": "uwr_module_end_handler"
- }
- }
-}