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

Load Wasm plugins with HTTP/HTTPS protocol

File Requirement

Considering convenience, it is recommended that the target URL point directly to the Wasm file.

HTTP Protocol

Just set the URL directly. But the URL must be accessible inside the gateway container. You can test it using the curl command.

http

HTTPS Protocol

The configuration is similar with HTTP protocol. But if the server uses an untrusted certificate, for example, a self-signed certificate, you need to add the following environment variable to the gateway container, to make it trust all the server-returned HTTPS certificates.

Terminal window
WASM_INSECURE_REGISTRIES=*