proxy wasm filter echo 源码
代理wasm-filter-echo 如果需要,添加wasm32构建目标: $ rustup target add wasm32-unknown-unknown 构建: $ cargo build --target=wasm32-unknown-unknown 并将生成的Wasm字节码复制到Nginx前缀: $ cp target/wasm32-unknown-unknown/debug/proxy_wasm_filter_echo.wasm /etc/nginx 在nginx.conf这样使用它: # nginx.conf events {} wasm { module echo /etc/nginx/proxy_wasm_filter_echo.wasm; } http { server { listen 9000 ; loca
下载地址
用户评论