Skip to content
下载《AI 应用 & AI Agent 开发新范式》电子书 了解构建 AI Agent 和 MCP Server 的一线实践Know more

Loading Wasm Plugins with HTTP/HTTPS Protocol

File Requirements

For convenience, it is recommended that the target URL points directly to the Wasm file.

HTTP Protocol

Simply configure the URL directly. However, ensure that the target URL is accessible from within the Gateway container. You can verify this by using the curl command inside the container.

http

HTTPS Protocol

The configuration approach is similar to the HTTP protocol. However, if the server uses an untrusted certificate (such as a self-signed certificate), you need to add an environment variable named “WASM_INSECURE_REGISTRIES” to the Gateway container. Set the value to ”*” to trust all HTTPS certificates returned by servers.