Skip to content
HiMarket 开源,打造开箱即用的 AI 开放平台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.